19.01.2011, 17:05
hi all i want to make a comand for player to change team only if they have kill 1 persone befor
some thinks like
some thinks like
Код:
if(strcmp(cmd, "/human", true) ==0)
{
if(playйr has kill a human)
{
team[playerid] = 1;
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid,GREEN,"you turn to human.");
return 1;
}
else
{
SendClientMessage(playerid,GREEN,"you must kill a human to chang your team");
return 1;
}
}


