Error...
#3

You can only have something like 7 if statements in any one if block; try reducing them (perhaps using a switch statement instead?)

pawn Код:
switch(GetPlayerSkin(playerid))
{
     case skinid1, skinid2, skinid3 (etc): //If this were an if, this would be the original if line
     {
          //What you want it to do if the players skin is equal to those specific in the case line.
     }
     default: //... and this would be else
     {

     }
}
Reply


Messages In This Thread
Error... - by Gooday - 05.12.2011, 15:56
Re: Error... - by Speed - 05.12.2011, 16:11
Re: Error... - by Ash. - 05.12.2011, 16:34

Forum Jump:


Users browsing this thread: 1 Guest(s)