Vehicle Component help.
#7

make sure that player is a driver

public OnPlayerExitVehicle(playerid, vehicleid)
{
if(vehicleid == quad1 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
RemoveVehicleComponent(vehicleid, componentid);
}
return 1;
}

Reply


Messages In This Thread
Vehicle Component help. - by RayPoda - 22.06.2009, 07:39
Re: Vehicle Component help. - by Grim_ - 22.06.2009, 07:42
Re: Vehicle Component help. - by RayPoda - 22.06.2009, 07:47
Re: Vehicle Component help. - by Grim_ - 22.06.2009, 07:48
Re: Vehicle Component help. - by RayPoda - 22.06.2009, 07:50
Re: Vehicle Component help. - by Grim_ - 22.06.2009, 08:49
Re: Vehicle Component help. - by Haron - 22.06.2009, 08:56

Forum Jump:


Users browsing this thread: 1 Guest(s)