Reps , Help , Fast please:S
#9

Code:
public OnPlayerDisconnect(playerid, reason)
{
if(!IsPlayerInAnyVehicle) return 0;
DestroyVehicle(GetPlayerVehicleID(playerid));
return 1;
}
OnPlayerExitVehicle(p...)
{
SetTimerEx("DestroyVehicle", 10000, false, "i", playerid);
SetPVarInt(playerid, "DestroyVehicle", vehicleid)
}
return 1;
}
OnPlayerDeath
{
if(!IsPlayerInAnyVehicle) return 0;
DestroyVehicle(GetPlayerVehicleID(playerid));
}

public DestroyVehicle(playerid)
{
new vehicleid == GetPVarInt(playerid, "DestroyVehicle");
DestroyVehicle(vehicleid);
}
Untested.
Reply


Messages In This Thread
Reps , Help , Fast please:S - by MahdiGames - 28.01.2014, 17:15
Re: Reps , Help , Fast please:S - by Abagail - 28.01.2014, 17:18
Re: Reps , Help , Fast please:S - by Smileys - 28.01.2014, 17:28
Re: Reps , Help , Fast please:S - by MahdiGames - 28.01.2014, 17:33
Re: Reps , Help , Fast please:S - by [WSF]ThA_Devil - 28.01.2014, 17:37
Re: Reps , Help , Fast please:S - by MahdiGames - 28.01.2014, 17:52
Re: Reps , Help , Fast please:S - by [WSF]ThA_Devil - 28.01.2014, 17:55
Re: Reps , Help , Fast please:S - by MahdiGames - 28.01.2014, 17:57
Re: Reps , Help , Fast please:S - by Abagail - 28.01.2014, 17:59
Re: Reps , Help , Fast please:S - by MahdiGames - 28.01.2014, 18:04

Forum Jump:


Users browsing this thread: 1 Guest(s)