[Help]/despawnsystemveh
#9

Well, in your command you've added respawning all vehicle that are here (0-1999). They are also in Gamemode.

I'll help you. Add this on top the FS' script:

Код:
new bool:Vehicle[MAX_VEHICLES];
where Vehicle is an example of vehicle name.

When you are creating a vehicle, add true parameter (for example vehicle spawner, like /car)

Код:
vehicleid = GetPlayerVehicleID(playerid);
Vehicle[vehicleid] = true;
That would make if the bool is true. And, in the despawning system, after the loop add checking, is current vehicle have true parameter

Код:
if(Vehicle[i] == true)
Reply


Messages In This Thread
[Help]/despawnsystemveh - by Swizzzy - 04.10.2011, 14:56
Re: [Help]/despawnsystemveh - by Raimis_R - 04.10.2011, 15:00
Re: [Help]/despawnsystemveh - by Swizzzy - 04.10.2011, 15:11
Re: [Help]/despawnsystemveh - by aRoach - 04.10.2011, 15:14
Re: [Help]/despawnsystemveh - by Libra_PL - 04.10.2011, 15:14
Re: [Help]/despawnsystemveh - by aRoach - 04.10.2011, 15:16
Re: [Help]/despawnsystemveh - by Libra_PL - 04.10.2011, 15:18
Re: [Help]/despawnsystemveh - by Swizzzy - 04.10.2011, 15:29
Re: [Help]/despawnsystemveh - by Libra_PL - 04.10.2011, 15:36
Re: [Help]/despawnsystemveh - by Swizzzy - 04.10.2011, 15:41

Forum Jump:


Users browsing this thread: 1 Guest(s)