Search Results
If you restart the server while there are players online those player's clients will attempt to reconnect as soon as the server is back online, I'm guessing that's why. Try restarting the server when ...
190
Can you show us the part of your code which handles loading player data upon log in?
346
I don't think that is causing your server to crash. This message only means that the AllowPlayerTeleport() function is old and you should use OnPlayerClickMap() instead. Try using the crashdetect plu...
207
What did you define MAX_POINTS to? I bet you have it as #define MAX_POINTS 5. If that's so, increase it.
166
You should've used the search function on the forums but meh, here is a tutorial for RP Factions. https://sampforum.blast.hk/showthread.php?tid=573053
173
Quote: Originally Posted by Counterafk Strange, I get this when I use the command. It seems that the PLAYER_STATE_SPAWNED is set only the moment the player spawns so you can't use it...
339
Vince is right. You're better off with the tutorials on these forums.
322
Fixed Sellize's code. PHP код: CMD:skin(playerid,params[]) {     new playerState = GetPlayerState(playerid);     if(playerState == PLAYER_STATE_SPAWNED)     {         ...
339
This wiki page has an example as well as information about the function. https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint
199
Oh, glad you found one. My bat script looked like this, in case anyone wants to try it. 1. Make a .bat file(windows) with the following code. Код: :start samp-server.exe goto :start 2. Place the ...
261
You can make use of a .bat file (windows) or .sh file (linux) to restart your server if it crashes. I don't remember the code and I"m not home but If you wait a bit I'll edit this post and give you t...
261
Suggestions: 1. Try putting crashdetect. Maybe that will give you a better idea of what is happening. 2. Update your .Net Framework. 3. Install the latest Microsoft Redistributable packages for you...
371
RO: Asigura-te ca ai asta la OnGameModeInit. Код: pTimer = SetTimer("pumpkinTimer", 5 * 60 * 1000, true); EN: Make sure you have this under OnPlayerGameModeInit.
300
You need to add callbacks to your script. Add them like this: public OnPlayerConnect(playerid) { return 1; } You can find a list of all the callbacks in SA:MP here : https://sampwiki.blast.hk...
194
Maybe try like this: PHP код: if (PlayerData[playerid][pBusinessKey][0] == 0)             return PlayerData[playerid][pBusinessKey][0] = id;         else if (Play...
356
Код: [10:54:49] [debug] #0 776c5e93 in ?? () from C:\Windows\SYSTEM32\ntdll.dll I remember when I had problems with this .dll file I updated my .NET Framework and intalled all the Microsoft Redist...
599
Examples taken from the Wiki. It is pretty clear how to use it. PHP код: // Make player 42 see player 1 as a red markerSetPlayerMarkerForPlayer( 42, 1, 0xFF0000FF ); // Make t...
282
Maybe this will help you. https://sampforum.blast.hk/showthread.php?tid=573696
137
Код: pData[playerid][RegisterDate] = cache_get_field_content_int(0, "RegisterDate"); Does the "RegisterDate" field in your db consist only of numbers? Because you're using cache_get_field_content_...
197
Add this under OnPlayerConnect. Код: OnUserCheck(playerid);
361