Vehicles PROBLEM
#1

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:
Код:
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;
}
Please help....
Reply


Messages In This Thread
Vehicles PROBLEM - by MahdiGames - 31.01.2014, 12:20
Re: Vehicles PROBLEM - by Hoborific - 31.01.2014, 12:31
Re: Vehicles PROBLEM - by MahdiGames - 31.01.2014, 12:42
Re: Vehicles PROBLEM - by MahdiGames - 31.01.2014, 12:47
Re: Vehicles PROBLEM - by Excelize - 31.01.2014, 12:51
Re: Vehicles PROBLEM - by MahdiGames - 31.01.2014, 13:06
Re: Vehicles PROBLEM - by MahdiGames - 31.01.2014, 14:03

Forum Jump:


Users browsing this thread: 2 Guest(s)