On enter vehicle
#1

hello i need help with this scrip :
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{

    for(new i=0; i<sizeof(regitraB); i++)
    {
        ShowPlayerDialog(playerid,CARB,DIALOG_STYLE_MSGBOX,"Praktinis vairavimas","B kategorijos praktinis vairavimas jums kainuos 1000 Euru","Taip","Ne");
    }
    
	return 1;
}
its for driving school when u enter to driving school car "regitraB" its should give u a dialog ye that works , but problem is its give dialog even before its gets to the car i just press enter to get into the car and boom dialog , can some1 tell my how to do that dialog appears only then when u seat into the car tnx
Reply


Messages In This Thread
On enter vehicle - by cyberlord - 23.12.2014, 22:40
Re: On enter vehicle - by Abagail - 23.12.2014, 22:42
Re: On enter vehicle - by cyberlord - 23.12.2014, 22:48

Forum Jump:


Users browsing this thread: 1 Guest(s)