05.09.2013, 14:42
Hello people of the forum.
I have currently added vehicles using
since it allows respawn.
Then sometimes using the vehicle spawner shit gets really messed up I needed to clear all them vehicles, so I searched a bit and someone had made this.
This deletes all the cars like needed.
But the vehicles WONT Respawn after 15 seconds, YES I have added a 15 sec timer I know how
works.
Why won't they respawn? what am I doing wrong?
Helper will be repped,
Regards, Eemale
EDIT: Also this destorys my BOT's lawn mower how would I avoid that?
I have currently added vehicles using
Код:
CreateVehicle
Then sometimes using the vehicle spawner shit gets really messed up I needed to clear all them vehicles, so I searched a bit and someone had made this.
Код:
if( strcmp( cmdtext, "/deleteallcars", true ) == 0 ) { for( new veh; veh < MAX_VEHICLES; veh ++ ) { if ( veh != INVALID_VEHICLE_ID ) { DestroyVehicle( veh ); } } SendClientMessage(playerid, 0xFFFF00AA, "Deleted all cars on the server!"); return 1; }
But the vehicles WONT Respawn after 15 seconds, YES I have added a 15 sec timer I know how
Код:
CreateVehicle
Why won't they respawn? what am I doing wrong?
Helper will be repped,
Regards, Eemale
EDIT: Also this destorys my BOT's lawn mower how would I avoid that?