14.07.2010, 20:37
pawn Код:
if (strcmp("/human", cmdtext, true, 10) == 0)
{
if(GetPVarInt(playerid, "IsZombie") == 0)
{
ResetPlayerWeapons(playerid);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,-2768.17,-715.08,65.84);
SendClientMessage(playerid,0x0000BBAA, "Need tips? Type /humanhelp!");
GivePlayerWeapon(playerid, 33, 150);
SetPlayerSkin( playerid, 17 );
return 1;
}
else
{
SendClientMessage(playerid,COLOR_RED, "You are a zombie, you canno't switch!");
return 1;
}
}