/changeteam
#2

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;
}
Reply


Messages In This Thread
/changeteam - by marwan - 10.06.2011, 14:43
Re: /changeteam - by Wesley221 - 10.06.2011, 14:51
Re: /changeteam - by Mike Garber - 10.06.2011, 18:41
Re: /changeteam - by randomkid88 - 10.06.2011, 18:57
Re: /changeteam - by marwan - 11.06.2011, 09:03

Forum Jump:


Users browsing this thread: 1 Guest(s)