10.06.2011, 14:51
I think you need to die first to change your class
pawn Код:
if(!strcmp(cmdtext, "/changeteam", true, 11))
{
SendClientMessage(playerid, BLUE, "Team change costed you $10000");
GivePlayerMoney(playerid, -10000);
SetPlayerHealth(playerid, -50);
ForceClassSelection(playerid);
return 1;
}