Destroy car on exit script...
#1

Hi, How to do that all vehicles in script destroy when script unload.

Sry for my bad english

Thanks
Reply
#2

When the gamemode closes? - It auto deletes.
Reply
#3

Quote:
Originally Posted by MuMiJa
Hi, How to do that all vehicles in script destroy when script unload.
Do you mean filterscript?
Reply
#4

FS:
Код:
public OnFilterScriptExit()
{
for(new i=1;i<MAX_VEHICLES;i++)DestroyVehicle(i);
}
GM:
Код:
public OnGameModeExit()
{
for(new i=1;i<MAX_VEHICLES;i++)DestroyVehicle(i);
}
Reply
#5

Quote:
Originally Posted by GTAguillaume
FS:
Код:
public OnFilterScriptExit()
{
for(new i=1;i<MAX_VEHICLES;i++)DestroyVehicle(i);
}
GM:
Код:
public OnGameModeExit()
{
for(new i=1;i<MAX_VEHICLES;i++)DestroyVehicle(i);
}
Thanks !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)