28.07.2010, 18:51
Hey there, one more question...
i have on my server so that people can choose their player colors.... here is one example of one;
i was wondering how to make it so that i can have admin colors.... this is what i have so far..
can you please help me?
when i compile it i get this error
thanks!
i have on my server so that people can choose their player colors.... here is one example of one;
Код:
} if(listitem==4) { SetPlayerColor(playerid,COLOR_WHITE); SendClientMessage(playerid,COLOR_WHITE,"This is your new colour.");
Код:
} if(listitem==5) { if(!IsPlayerAdmin(playerid)) SetPlayerColor(playerid,COLOR_KHAKI); SendClientMessage(playerid,COLOR_WHITE,"This is your new Admin Color."); { else } SendClientMessage(playerid,COLOR_ORANGE,"You Are Not An Admin!");
when i compile it i get this error
Код:
C:\Users\owner\Desktop\my samp server\my samp server - Copy\gamemodes\stunt.pwn(4286) : error 029: invalid expression, assumed zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.