Search Results
Edit this depending on your admin variable as mentioned above. Код: CMD:acmds(playerid, params[]) { if(PlayerInfo[playerid][AdminLevel] < 1) return SendClientMessage(playerid,0xFF4444FF,"You a...
112
Of course. You have the function ShowPlayerMarkers(mode) Where as: Код: 0 PLAYER_MARKERS_MODE_OFF 1 PLAYER_MARKERS_MODE_GLOBAL 2 PLAYER_MARKERS_MODE_STREAMED
88
Doesn't look like it. What happens when you compile?
188
Код: CMD:dm(playerid) { static const Float:pos[][3] = { {-364.8762,-1806.4645,5.0472}, {-395.2691,-1769.2233,5.0488}, {-414.6810,-1829.5294,3.3588}, ...
190
I would suggest using SetTimer(funcname[], interval, repeating) and KillTimer(timerid) which would actually work in this case with no problems.
113
As mentioned above, it is best to use timers for an effective ping system. I would suggest setting a timer every 30 seconds, and if the ping is higher than your server's max ping implement 1... Until ...
103
Well if he's connected you will need to use GetPlayerName like this: Код: new playername[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, sizeof(playername)); Not really sure if this is the b...
81
You need to use TogglePlayerControllable function, check this out for an idea on how to use it: https://sampwiki.blast.hk/wiki/Function:...erControllable
93
Cool job, and thanks for the credits!
608
pawn Код: public OnPlayerDeath(playerid, killerid, reason){    {        SendClientMessageToAll(playerid, RED, "[Zone] was Not Captured Since The Played Died While Capturing It!");       ...
459
Well, I didn't read it all, just saw it at small.. The OnPlayerDeath you didn't even check if player is capturing to make it stop the capture and send the message, that means it will send that message...
459
I'd say create a one second timer for the speedo, 32 times a second(OnPlayerUpdate) is too much(I think that was the value). As for the fuel, just put a 5 seconds timer to check for the fuel, since i...
96
Hello, I'm offering a host with any amount of player slots, which means I can host for you from 50-1000 server sloted server. Roleplay servers are NOT allowed. ((PS: No access will be given to the ho...
197,506
The errors are coming because you have no "IsNumeric" stock in your script. Add this anywhere in your script: pawn Код: IsNumeric(const string[]){    for (new i = 0, j = strlen(string); i < j...
108
Hello, I'm offering a host with any amount of player slots, which means I can host for you from 50-1000 server sloted server. Roleplay servers are NOT allowed. ((PS: No access will be given to the ho...
197,506
Not bad, cool, but why did you create it there?
353