Making certain ids exempt
#3

Use switch.

Instead of

pawn Код:
if(rand == 403 || rand == 406 || rand == 408 || rand == 417)
{
    return 1;
}
do

pawn Код:
switch(rand)
{
    case 403,406,408,417: return 1;
}
Reply


Messages In This Thread
Making certain ids exempt - by Яσскѕтая - 19.07.2010, 14:49
Re: Making certain ids exempt - by kc - 19.07.2010, 15:02
Re: Making certain ids exempt - by MadeMan - 19.07.2010, 15:02
Re: Making certain ids exempt - by Mauzen - 19.07.2010, 15:03
Re: Making certain ids exempt - by Яσскѕтая - 19.07.2010, 15:15
Re: Making certain ids exempt - by kc - 19.07.2010, 15:19
Re: Making certain ids exempt - by Яσскѕтая - 19.07.2010, 15:22
Re: Making certain ids exempt - by Mauzen - 19.07.2010, 15:33

Forum Jump:


Users browsing this thread: 2 Guest(s)