SA-MP Forums Archive
Spawning cars like CRAZY !! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Spawning cars like CRAZY !! (/showthread.php?tid=114636)



Spawning cars like CRAZY !! - John_Giard - 20.12.2009

When I load my server, the cars i spawn are in the spots i put it at. BUT the thing is when the car moves it respawns a car INSTANTLY. It keeps spawning, i had to gmx my server every 2 minutes. could it because of MTA Map Editor ?


Re: Spawning cars like CRAZY !! - Mystique - 20.12.2009

Do you have a respawn timer?


Re: Spawning cars like CRAZY !! - John_Giard - 20.12.2009

Lol, im VERY new to scripting, How do i add one ?


Re: Spawning cars like CRAZY !! - John_Giard - 20.12.2009

Sorry for double post but since i have someone helping me, How do i convert my Pickups from mta to pawno ?


Re: Spawning cars like CRAZY !! - Mystique - 20.12.2009

If you didn't add a respawn timer I don't know how to fix the problem.. Did you just do AddStaticVehicle etc. ?


Re: Spawning cars like CRAZY !! - Joe Staff - 20.12.2009

What do you mean respawns? Does the car disappear and go back? Or are more cars popping out of the same spot?


Re: Spawning cars like CRAZY !! - Mystique - 20.12.2009

I have never actually converted a pickup from MTA but do you know how to convert objects?


Re: Spawning cars like CRAZY !! - Mystique - 20.12.2009

Ask that guy He is a much better scripter than me


Re: Spawning cars like CRAZY !! - Deat_Itself - 20.12.2009

Quote:
Originally Posted by John_Giard
Sorry for double post but since i have someone helping me, How do i convert my Pickups from mta to pawno ?
use
pawn Код:
AddStaticPickup
and it will automatically respawns the car after 60 seconds
pawn Код:
AddStaticVehicleEx(modelid, x, y,z, angle, color1, color2, respawn time );//for e.g respawn time = 60 seconds ,if the car moves from its position so it will automatically respawns after 60 seconds



Re: Spawning cars like CRAZY !! - John_Giard - 20.12.2009

Both of those wont work I get errors