Having so many issues today..
#1

Fixed it, needed to get the vehicle id of the player then use it to check if their in the vehicle.
Reply
#2

pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
{
        if(truckm[1] || truckm[2] || truckm[3] || truckm[4] || truckm[5] || truckm[6])
        {
              ShowPlayerDialog(playerid,DIALOG_TRUCKMENU,DIALOG_STYLE_LIST,"Difficulties","Easy\nMedium\nHard.","Select","Close");
        }
        return 1;
    }
Try it.
Reply
#3

Nope, still shows the dialog no matter what vehicle im in
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)