Destroying cars on disconnect
#4

Add an ID for each player vehicle (for example PlayerInfo[playerid][pVehicleID]) and when you create the vehicle you write:
pawn Код:
PlayerInfo[playerid][pVehicleID] = CreateVehicle(....);
and when he disconnects you just write DestroyVehicle(PlayerInfo[playerid][pVehicleID]);
Reply


Messages In This Thread
Destroying cars on disconnect - by jackx3rx - 15.03.2014, 17:40
Re: Destroying cars on disconnect - by kepa333 - 15.03.2014, 17:45
Re: Destroying cars on disconnect - by jackx3rx - 15.03.2014, 20:06
AW: Destroying cars on disconnect - by Macronix - 15.03.2014, 20:18
AW: Destroying cars on disconnect - by jackx3rx - 15.03.2014, 20:34
AW: Destroying cars on disconnect - by Macronix - 15.03.2014, 21:16
Re: Destroying cars on disconnect - by Zeppo - 16.03.2014, 00:30

Forum Jump:


Users browsing this thread: 1 Guest(s)