OnVehicleSpawn(vehicleid) Script bug
#1

Very simple, yet frustrating.

I was making custom car spawns for samp, and I placed the parts to the spawn cars under OnVehicleSpawn(vehicleid) as instructed.

When I ran the server and did some testing, the script wasn't working.

I figured out the problem was that if ANY of your filterscripts that are being used by the server have OnVehicleSpawn(vehicleid), then that will be the only one it reads.

The Fix: Just moved the script parts to my Gamemode. Works fine, but looks a little cluttered.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)