Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 920 online users. » 0 Member(s) | 916 Guest(s) Bing, Google, Applebot, DuckDuckGo
|
|
|
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
|
|
|
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]](https://i.imgur.com/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]](https://i.imgur.com/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:
|
|
|
Banned on discord server |
Posted by: Cheloo.20CMRecords - 2020-11-22, 01:25 PM - Forum: Chat
- Replies (8)
|
 |
Hello.
I have been banned on the discord server without any reason.
Is it possible to know at least the reason for the ban?
My discord nickname is Cheloo.#0377
|
|
|
|