Just deleting all vehicles from world)
function vehdel(){
local cnt = GetVehicleCount();
local i=1;
for(i;i<=cnt;i++){
local v = FindVehicle(i);
v.Delete();
v = null;
}
}
And how i can reboot my server and don't shutdown him?
if(v) is not needed, yep?
:(
Hell yeah, you're right.
But i think on this script about 10 mins, and you like a boss say my problm, no hell no(
What is this doing in the snippets section?
Poking
@Thijn
Wrong. If you want to delete from only a world,use this:-
http://pastebin.com/PyQLffTT
Anyway, Thijn move it to Squirrel Scripting.