01.02.2014, 21:19
You mean when you disconnect the car respawns, and when a passenger disconnects if your the leadership you want the car not to respawn? I think this is how its made :P
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
new iSeat = GetPlayerVehicleSeat(playerid);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(iSeat >= 1)
{
// Do nothing
}
else
{
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
}
}
return 1;
}

