07.06.2015, 05:39
Hy all !
I have a problem.
I make a dialog to transport wood, look:
And when player exit the vehicle to destroy vehicle i make this:
And i add this
BUT NOT WORK ! Why ? Can help me ?
I have a problem.
I make a dialog to transport wood, look:
PHP код:
if(dialogid == DIALOG_TRANSPORTWOOD)
{
if(response)
{
if(listitem == 0)
{
new CarWood = CreateVehicle(411,-431.8788,-1410.3784,22.0100,0,0,0,0);
PutPlayerInVehicle(playerid,CarWood,0);
DisablePlayerCheckpoint(playerid);
}
}
return 1;
}
PHP код:
public OnPlayerExitVehicle(playerid, vehicleid)
PHP код:
DestroyVehicle(CarWood);