Car Respawn.
#1

Hello there.
Can someone make me a Automatic Car Respawner for cars that have been driven?
I use ZCMD
Reply
#2

new bool:iVUsed[MAX_VEHICLES] = {false, ...};

OnPlayerStateChange

if (newstate == PLAYER_STATE_DRIVER)
iVUsed[GetPlayerVehicleID(playerid)] = true;

In the command:

for (new i = 0; i < MAX_VEHICLES; i++)
if (iVUsed[i])
SetVehicleToRespawn(i), iVUsed[i] = false;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)