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...
53
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
36
Doesn't look like it.
What happens when you compile?
45
Код:
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},
...
43
I would suggest using SetTimer(funcname[], interval, repeating) and KillTimer(timerid) which would actually work in this case with no problems.
59
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 ...
37
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...
34
You need to use TogglePlayerControllable function, check this out for an idea on how to use it:
https://sampwiki.blast.hk/wiki/Function:...erControllable
44
Cool job, and thanks for the credits!
177
pawn Код:
public OnPlayerDeath(playerid, killerid, reason){ { SendClientMessageToAll(playerid, RED, "[Zone] was Not Captured Since The Played Died While Capturing It!"); ...
110
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...
110
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...
39
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...
38,941
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...
51
Nice work, repped.
375
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...
38,941
Not bad, cool, but why did you create it there?
207