31.01.2014, 12:20
Guys i need function which remove the vehicles when player leave or die or exit vehicle iv already one but its not working as well here pic:
and here my codes:
Please help....
and here my codes:
Код:
public OnPlayerExitVehicle(playerid, vehicleid) { SetTimerEx("DesVeh", 60000, 0, "i", vehicleid); return 1; } forward DesVeh(vehid); public DesVeh(vehid) { SetVehicleToRespawn(vehid); } public OnPlayerDisconnect(playerid, reason) { SetVehicleToRespawn(GetPlayerVehicleID(playerid)); return 1; } public OnPlayerDeath(playerid, killerid, reason) { SetVehicleToRespawn(GetPlayerVehicleID(playerid)); return 1; }