Need help.. Dialog not showing up.. (Giving + rep)
#2

OnPlayerEnterVehicle() is called when player has just clicked button to enter to a car, and his state isn't PLAYER_STATE_DRIVER in that moment.
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER) ShowPlayerDialog(playerid, 1000, DIALOG_STYLE_LIST, "Vehicle Controls", "Lights\nTrunk\nHood\nAlarm", "Select", "Cancel");
    return 1;
}
Reply


Messages In This Thread
Need help.. Dialog not showing up.. (Giving + rep) - by trapped1 - 20.01.2012, 07:57
Re: Need help.. Dialog not showing up.. (Giving + rep) - by sabretur - 20.01.2012, 08:17
Re: Need help.. Dialog not showing up.. (Giving + rep) - by [HiC]TheKiller - 20.01.2012, 08:20
Re: Need help.. Dialog not showing up.. (Giving + rep) - by trapped1 - 20.01.2012, 08:21

Forum Jump:


Users browsing this thread: 1 Guest(s)