16.08.2011, 04:12
pawn Код:
CMD:surrender(playerid,params[])
{
if(PlayerInfo[playerid][pTeam] ==0)
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
PlayerInfo[playerid][pSurrender] = 1;
}
else if(PlayerInfo[playerid][pSurrender] ==1)
{
ClearAnimations(playerid);
PlayerInfo[playerid][pSurrender] = 0;
}
return 1;
}