Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,283
» Latest member: atikahbellaa
» Forum threads: 2,383
» Forum posts: 12,299

Full Statistics

Online Users
There are currently 147 online users.
» 0 Member(s) | 144 Guest(s)
Bing, Google, Applebot

Latest Threads
Red County Roleplay | Med...
Forum: Advertisements
Last Post: TommyB
Today, 08:50 AM
» Replies: 0
» Views: 45
How to create a custom SA...
Forum: Tech
Last Post: S.S.
Yesterday, 07:46 PM
» Replies: 0
» Views: 20
Open Mp Server resartint ...
Forum: Support
Last Post: passedthedemon
2025-07-13, 10:16 PM
» Replies: 0
» Views: 37
AntyCheat System [SA-MP/O...
Forum: Filterscripts
Last Post: 2PAC_
2025-07-12, 09:17 PM
» Replies: 7
» Views: 8,608
Iron Horizon Roleplay[v1....
Forum: Advertisements
Last Post: MikeNGRP
2025-07-11, 11:44 PM
» Replies: 0
» Views: 74
[MAP PACK] 5 NEW LS BUILD...
Forum: Videos and Screenshots
Last Post: Apollo4430
2025-07-11, 12:20 AM
» Replies: 1
» Views: 3,372
Open.mp / SAMP Query
Forum: Releases
Last Post: laex
2025-07-09, 04:07 AM
» Replies: 2
» Views: 173
some text appearing in my...
Forum: Support
Last Post: Sizy
2025-07-08, 07:33 AM
» Replies: 0
» Views: 52
Offensive-Core: TDM
Forum: Gamemodes
Last Post: NikitaFoxze
2025-07-08, 12:13 AM
» Replies: 3
» Views: 3,747
Second Generation Rolepla...
Forum: Advertisements
Last Post: JamesT
2025-07-06, 10:28 AM
» Replies: 0
» Views: 74

 
  MTA Maps Parser
Posted by: sneakyevil - 2020-11-26, 08:22 PM - Forum: Filterscripts - Replies (3)

Hey,



I was kinda bored and also lazy to use converter each time and renaming CreateObject to CreateDynamicObject when I edited something in MTA SA Map Editor.

So I made simple FS that will loop through each file inside "scriptfiles/mtamaps" and parse objects & vehicles and call functions runtime.



There is one problem and I have?no idea if SA-MP has option to somehow use R, G, B colors for Vehicles but my solution was to loop through pre-defined colors and find closet one.



If there is any problem with the FS then let me know.???



Download & Source:?https://github.com/sneakyevilSK/MTA-Maps-Parser


  Random letters and numbers
Posted by: Frajola - 2020-11-25, 10:18 PM - Forum: Pawn Scripting - Replies (4)

Hi guys. could you help me generate numbers and letters in the same string?



Does not work. how could i do?



Code:
stock CreateVehiclePlate()

{

? ? new string[10];

? ? format(string, sizeof(string), "%s %d %s %s",? random('A'-'Z'), random('0'-'9'), random('A'-'Z'), random('A'-'Z'));

? ? return string;

}


  How do I get a percentage?
Posted by: Ryder Sixz - 2020-11-25, 06:46 PM - Forum: Pawn Scripting - Replies (3)

Hello, I would like to know how to get the percentage of a figure, so far I have tried this:



Code:
new percentage1 = 10;

new percentage2 = 8000;



CMD:cent(playerid, params[])

{

? ? new string[256];

? ? format(string, sizeof(string), "The result was %d", percentage1%percentage2);

? ? SendClientMessage(playerid,-1,string);

? ? return 1;

}



but it does not work (it gives me the figure of 10). Does anyone know how to do it correctly? thanks!


  OLD SA-MP FORUM ARCHIVE
Posted by: Potassium - 2020-11-25, 03:17 AM - Forum: General Discussions - Replies (9)

Hello,

Although we have the Burgershot forum as the new replacement for the SA-MP forum, we still want to have access to all of the old threads - particularly scripting help etc.

So an awesome member of the community has backed up the old SA-MP forum and uploaded it for everyone to access!

You can't log in, but all of the old threads are there :)

http://sampforumarchive.com


  Faster spectator mode & OnPlayerRequestClass
Posted by: Godfather - 2020-11-24, 11:01 PM - Forum: Questions and Suggestions - Replies (1)

Is there any option to make spectator mode "faster" when toggling. I can see skin mesh for a second every time and I would like to make it cleaner and smoother.



I'm trying to do some cinematic scene when player connects but OnPlayerRequestClass is called even though I put it there in spectator mode.



My suggestion would be to able in script?to disable this callback at all if we don't want to use it, also F4 button ingame is abusable by players on RP servers.


  Celebration
Posted by: Pinch - 2020-11-24, 10:09 PM - Forum: Chat - Replies (1)

I invite everyone to celebrate the Pinch unban event that took place on the official discord minutes ago!



Seriously, we need those pogchamps nooow


Information SA:MP Forums Situation
Posted by: Ty3ler_ - 2020-11-24, 11:34 AM - Forum: General Discussions - Replies (7)

Hello all.



Context: I thought I would make this post because there is a huge amount of confusion around this topic and I have gathered some evidence and believe that we should all come together and discuss what is going on and give people REAL FACTS, supported by evidence.



As the majority know, there is currently an ongoing situation with the SA:MP Forums and it's status. Recently, the SA:MP Forums became unreachable, throwing out errors at people and then later, telling us that the site cannot be reached.

It has not been hidden in the SA:MP Community that over the past few years has been a real struggle against the community and the main developer Kalcor who obviously lost motivation with his platform. He made several decisions that led to some members of the community taking his side and some going against him.



[Image: B2rVySl.png]



As visible in the image above, Kalcor himself stated that he was "done" with SA:MP, this only being last year. This caused a lot of confusion and quite simply threw a roadblock infront of the SA:MP community and the updates they were receiving. This was just the start to the problems.? Around the end of 2019, start of 2020, something crazy happened.?

Kalcor released a new update to SA:MP, several months after saying he was "done" with the platform. 0.3DL was a big hit for many and was taken up by the big servers such as Los Santos Roleplay and Red County Roleplay and all was seemingly going well. That was until later that year, the version was discontinued and removed from the SA:MP forums completely. There were alternative ways to find the version however, it was not supported by the developers of several communities. The biggest issue was yet to come though.



During mid-late 2020, something that no-one was expecting happened. After the SA:MP Forums SSL certificate expired,?Kalcor took the decision to completely?revoke the SA:MP forums and wiki from the main website as seen in the image below.

[Image: 3DOGR5q.png]



So let's wrap this up. The SA:MP Forums and wiki are gone and the likelyhood of them coming back is extremely slim (never say never). Don't get your hopes high. For those looking for a archive of the SA:MP Forums, use this link:?http://samp.0xf0.xyz/forum.sa-mp.com/index.html



NOTE: THIS TOPIC IS TO BE USED FOR INFORMATION AND IS NOT HERE TO BE USED TO ARGUE. KEEP ALL REPLIES POSITIVE AND POST YOUR VIEW. ALL IMAGES COME FROM AN OFFICIAL SOURCE!


  pawn-rbits | Support 16, 8, 4, 2 and 1-bit arrays!
Posted by: Mergevos - 2020-11-22, 10:32 PM - Forum: Libraries - No Replies

pawn-rbits
Ryder's rBits include because it doesn't have a Github repo. This is RyDeR's include, I've open sourced it on git because of old scripts recovering.
Installation
Simply install to your project:
Code:
sampctl package install Mergevos/pawn-rbits

Include in your code and begin using the library:

Code:
#include <rbits>

Visit https://github.com/pawn-rbits/README.md?to read documentation.?


  Procedural Terrain Generator
Posted by: Corne - 2020-11-22, 06:03 PM - Forum: Videos and Screenshots - Replies (3)

I was digging into my archives today and came across one of the last projects I was working on before I left the community / became inactive. It was meant to be for a strict roleplaying server with RPG-like features like skills and crafting. I also always felt like the rural areas of San Andreas felt a bit empty and dull, and this was an attempt at fixing that.



Certain areas of the map were static biomes meaning they would always be that particular biome (although object placement would differ on each generation). Most of the map were random generated biomes from a pool available to that particular area. But this was still in early stages and even without making use of custom objects that SA:MP 0.3.DL added which would have allowed for even greater terrain!



I don't remember how many objects this generated in total, I believe it was somewhere in the 80k - 120k objects range in one of the later stages it was in.



Red County

[Video: https://www.youtube.com/watch?v=00KFDpv-ygI]

[Video: https://www.youtube.com/watch?v=eiFcVW4Y4qY]



Whetstone & Flint County

[Image: 0zJmaXE.jpeg]

[Image: bPNpgPD.jpeg]

[Image: 2cvHvtS.jpeg]

[Image: rYXEnzl.jpeg]

[Image: pav5PuS.jpeg]



I am still following the open.mp project and hope that one day I will have the time to resume the project. ??


  Deleted
Posted by: Telzin2k - 2020-11-22, 03:03 PM - Forum: Support - Replies (1)

Deleted...