19.05.2012, 15:30
Instead of creating those many lines for checking each class you could have just done this:
instead of checking all classes, 1 line per class instead of 3-5 :/
+ You haven't really explained the system. Tutorials are for newbies and this is NOT a newbie-friendly tutorial.
pawn Code:
if(gPlayerClass[playerid] == WHATEVER_CLASS_OTHER_THAN_PILOT return SendClientMessage(playerid, RED, "You need to be a pilot to enter this vehicle! ");
+ You haven't really explained the system. Tutorials are for newbies and this is NOT a newbie-friendly tutorial.