15.08.2011, 15:06
pawn Код:
if (strcmp("/teleport", cmdtext, true, 10) == 0)
{
if(IsPlayerAdmin(playerid))
{
SetPlayerPos(playerid,x,y,z);
SendClientMessage(playerid,0x00FF00FF,"You have been teleported");
} else return SendClientMessage(playerid, COLOR HERE, "You need to be admin to use this command");
return 1;
}