04.10.2011, 15:36
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:
where Vehicle is an example of vehicle name.
When you are creating a vehicle, add true parameter (for example vehicle spawner, like /car)
That would make if the bool is true. And, in the despawning system, after the loop add checking, is current vehicle have true parameter
I'll help you. Add this on top the FS' script:
Код:
new bool:Vehicle[MAX_VEHICLES];
When you are creating a vehicle, add true parameter (for example vehicle spawner, like /car)
Код:
vehicleid = GetPlayerVehicleID(playerid); Vehicle[vehicleid] = true;
Код:
if(Vehicle[i] == true)