07.11.2010, 21:51
Код:
if(strcmp(cmdtext,"/putzombie", true, 10) == 0) { new id = strval(cmdtext[11]); //this is the id of the player whos team your trying to change team[id] = 2; infected[playerid] = 0; SetPlayerPos(playerid,X,Y,Z); SetPlayerColor(playerid,ZRED); SetPlayerTeam(playerid, 2); SetPlayerHealth(playerid, 200); SetPlayerSkin(playerid,162); GameTextForPlayer(playerid,"~r~Zombie: ~b~/hide",10000,1); return 1; }