Isnt there a faster way to do that`?
#6

Quote:
Originally Posted by XtremeR
Посмотреть сообщение
pawn Код:
SetPlayerTeamFromClass(playerid, classid)
{
    if(classid = 0 > 53)
    {
        gTeam[playerid] = TEAM_CIVIL;
    }
}
should work now
What?

You mean:

pawn Код:
SetPlayerTeamFromClass(playerid, classid)
{
    if(classid >= 0 && classid <= 53)
    {
        gTeam[playerid] = TEAM_CIVIL;
    }
}
Reply


Messages In This Thread
Isnt there a faster way to do that`? - by CrazyChoco - 02.10.2012, 14:28
Re: Isnt there a faster way to do that`? - by XtremeR - 02.10.2012, 14:32
Re: Isnt there a faster way to do that`? - by [XST]O_x - 02.10.2012, 14:34
Re: Isnt there a faster way to do that`? - by CrazyChoco - 02.10.2012, 14:35
Re: Isnt there a faster way to do that`? - by XtremeR - 02.10.2012, 14:36
Re: Isnt there a faster way to do that`? - by [XST]O_x - 02.10.2012, 14:37
Re: Isnt there a faster way to do that`? - by CrazyChoco - 02.10.2012, 14:42
Re: Isnt there a faster way to do that`? - by RedFusion - 02.10.2012, 17:28

Forum Jump:


Users browsing this thread: 1 Guest(s)