Posts: 233
Threads: 82
Joined: Jan 2011
Quote:
Originally Posted by jackx3rx
pawn Код:
} if(PlayerInfo[playerid][pCarLic] == 0) { SendClientMessage(playerid, COLOR_RED, "Be careful! You don't have a drivers license!"); return 1; }
Remember if you're checking CarLic is zero, you need two equal signs - "==".
In your case, it only had one, so it got confused.
|
Thank you.