eehm got little problem with onentercar
#2

Why do you use a timer, when you can use OnPlayerStateChange? Like this:

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER)
    {
       ShowPlayerDialog(playerid, 12345, DIALOG_STYLE_MSGBOX, "Car Tax", "to drive this vehicle you have to pay $10000 for the Road Tax!", "Pay", "Don't Pay");
    }
    return 1;
}
Reply


Messages In This Thread
eehm got little problem with onentercar - by niels44 - 02.01.2012, 18:19
Re: eehm got little problem with onentercar - by Jakku - 02.01.2012, 18:24
Re: eehm got little problem with onentercar - by niels44 - 02.01.2012, 18:33
Re: eehm got little problem with onentercar - by Jakku - 02.01.2012, 18:35

Forum Jump:


Users browsing this thread: 1 Guest(s)