Search Results
EDIT: Nevermind, person above was faster.
187
https://sampforum.blast.hk/showthread.php?tid=65567
2,286
pawn Код:
if(PlayerInfo[playerid][pGang] == 1)Â Â {Â Â Â Â SetPlayerColor(playerid,COLOR_RED);Â Â }Â Â else if(PlayerInfo[playerid][pGang] == 2)Â Â {Â Â Â Â SetPlayerColor(playerid...
214
Quote:
Originally Posted by FirziKs
Download 0.3d server, add includes in includes map, and then try to compile
Quote:
Originally Posted by expertprogrammer
Sir, update your...
315
Well, where did you added this code?
315
Quote:
Originally Posted by park4bmx
is iis becouse your want 1-5 , price ,name so that means that Category 1-5 is a variable so its an I
If it's a variable it doesn't mean it should st...
284
pawn Код:
GivePlayerMoney( giveplayerid, -cashamount );
161
Using zcmd:
pawn Код:
CMD:ooc( playerid, params[] ){Â Â if ( isnull ( params ) ) return SendClientMessage( playerid, -1, "Syntax /ooc [text]" );Â Â /* check if command parameters are null */Â...
315
Perhaps somewhere after your includes?
251
Missing bracket maybe?
pawn Код:
else if ( PRESSED(KEY_FIRE) )Â Â {Â Â Â Â if(IsACop(playerid) && GetPlayerWeapon(playerid) == 23 && Tazer[playerid] == 1)Â Â Â Â {Â Â ...
263
Add some print lines through your code and see in the server console or log where it stops.
263
No, you just can simply do:
pawn Код:
if (!Computer{playerid} ) return SendClientMessage(playerid, -1, "You dont got a computer");else{Â Â SendClientMessage( playerid, -1, "You HAVE got a compu...
224
Quote:
Originally Posted by cruteX_modshop
And then code under that, should be what will happen if he DO got a computer?
Operator '!' means not.
pawn Код:
if ( Computer{playerid}...
224
Missing bracket:
pawn Код:
COMMAND:announce(playerid, params[]){Â Â if(!IsPlayerAdmin(playerid))Â Â {Â Â Â Â new text[64], time, style;Â Â Â Â if (sscanf(params, "iis[64]", style, tim...
263
pawn Код:
new  HealUsed[ MAX_PLAYERS ];forward @RefreshCmd( playerid );@RefreshCmd( playerid ){  HealUsed[ playerid ] = 0;  SendClientMessage( playerid, -1, #two minutes passed you can...
165
Quote:
Originally Posted by SantarioLeone
All i can really say is when you do a tutorial about saving a players position its important that you include virtual world, and interior support....
6,132
@demonarn
You have an extra bracket.
pawn Code:
public OnPlayerSpawn(playerid){Â Â new Random = random( sizeof ( RandomSpawns ) );Â Â SetPlayerPos(playerid, RandomSpawns[ Random ][ 0 ], Random...
42,006
https://sampwiki.blast.hk/wiki/Hex_colours
https://sampwiki.blast.hk/wiki/Colour_Embedding
182
See https://sampwiki.blast.hk/wiki/GetPlayerKeys for supported keys.
176
Example for blocking model id 450:
pawn Код:
CMD:v(playerid, params[]){Â Â if(DeathMatch[playerid] != 0) return SendClientMessage(playerid, COLOR_RED, "You can not TP from DM. Use /exitdm to le...
133