Quote:
Originally Posted by Niixie
Doppeyy you were be4 me! FUUU
pawn Code:
if(!strcmp(cmdtext, "/jail", true, 5)) { if(PlayerIsAdmin == 1) { if(!strlen(cmdtext[6])) { SendClientMessage(playerid, COLOR_ORED, "Usage: /jail [playerid]"); return 1; } new ID = strval(cmdtext[6]); new strv[170]; if(IsPlayerConnected(ID)) { format(strv, 170, "~ You have been jailed"); SendClientMessage(ID,COLOR_ORANGE, strv); SetPlayerPos(ID, 264.8763,81.9862,1001.0390); SetPlayerInterior(ID, 6); } } return SendClientMessage(playerid, COLOR_RED, "Your not rcon admin!"); }
That should do it
|
And how is that one better then the one i posted ?
[Doppeyy