Quote:
Originally Posted by Shockey HD
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; }
It just dosnt work. I dont get a Unkown Command, am i just not activating Hands up?
|
Did you remove the "OnPlayerCommandText" callback from your script?