SA-MP Forums Archive
Spawning Bug - Please help me - 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 Bug - Please help me (/showthread.php?tid=78780)



Spawning Bug - Please help me - LTomi - 23.05.2009

I was trying to spawn a Linerunner, when I got this bug. The Linerunner spawns, but its totally invisible, I can only see the shadow. I can drive the truck, and i can attach a trailer, but i can't see it. All other cars are spawning correctly, only this ID 96 truck can't spawn. Here's the code:

Код:
AddStaticVehicleEx(403,2100.67,-2069.10,14.15,181.45,-1,-1,30000); // truck 96
It's bad with other coordinates too.

Sorry for my bad english...

Images:






Re: Spawning Bug - Please help me - Klutty - 23.05.2009

How many vehicles do you have?


Re: Spawning Bug - Please help me - LTomi - 23.05.2009

I have 282 car spawns.


Re: Spawning Bug - Please help me - Klutty - 23.05.2009

Well as far as I know 700 vehicles is the limit, so that can't be the problem. Hm..


Re: Spawning Bug - Please help me - LTomi - 23.05.2009

In the original gamemode, this spawn was scripted with CreateVehicle. It's bad with CreateVehicle, with AddStaticVehicleEx, and with AddStaticVehicle too...


Re: Spawning Bug - Please help me - LTomi - 23.05.2009

Any other ideas?


Re: Spawning Bug - Please help me - am0k - 23.05.2009

Max. Vehicle Models : 127

maybe that