OnPlayerEnterVehicle help?
#3

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.
Reply


Messages In This Thread
OnPlayerEnterVehicle help? - by Jing_Chan - 29.12.2014, 20:50
Re: OnPlayerEnterVehicle help? - by jackx3rx - 29.12.2014, 20:54
Re: OnPlayerEnterVehicle help? - by Jing_Chan - 29.12.2014, 21:01

Forum Jump:


Users browsing this thread: 1 Guest(s)