SA-MP Forums Archive
[HELP] Spawning vehicles - since 0.3a a problem - 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: [HELP] Spawning vehicles - since 0.3a a problem (/showthread.php?tid=111851)



[HELP] Spawning vehicles - since 0.3a a problem - Nobbl - 04.12.2009

Hey folks,
I'm having a problem with spawning cars since I updated my server to 0.3.

I run the "cardealership" script, so people can buy cars and have them as personal car. Now those cars - even the buyable cars - dont spawn. The cars from the gamemode spawn as usual, but those script cars don't.
When I want to start the script ingame it says: Loading failed.
Normaly the script gets started from the gamemode, so there's no messing up with vehicle IDs.

I just found out that there are no spawning vehicles for any FS.

Is there a reason? I don't want to implement all FS with spawning vehicles into the gamemode.

Please help.


Re: [HELP] Spawning vehicles - since 0.3a a problem - V1ceC1ty - 04.12.2009

have you recompiled the script with 0.3 includes?


Re: [HELP] Spawning vehicles - since 0.3a a problem - Nobbl - 09.12.2009

Yes I did. Comes out with no errors.

I'm going to implement some scripts into the gamemode, because it's crap. Nobody has vehicles ._.


Re: [HELP] Spawning vehicles - since 0.3a a problem - Los Santos RP - 09.12.2009

Quote:
Originally Posted by Nobbl
Hey folks,
I'm having a problem with spawning cars since I updated my server to 0.3.

I run the "cardealership" script, so people can buy cars and have them as personal car. Now those cars - even the buyable cars - dont spawn. The cars from the gamemode spawn as usual, but those script cars don't.
When I want to start the script ingame it says: Loading failed.
Normaly the script gets started from the gamemode, so there's no messing up with vehicle IDs.

I just found out that there are no spawning vehicles for any FS.

Is there a reason? I don't want to implement all FS with spawning vehicles into the gamemode.

Please help.
How many new cars did you add?

In your script find your respawn command e.g. /rac
When you find it look for something like this
Код:
Isanownablecar 100 >> 250
100= Means ownable cars start there
250= ownable cars stop there

Код:
Isanownablecar 100 >> 300
Hope this helps :P

So if you add 50 cars all you have to do is add 50 to the 250




Re: [HELP] Spawning vehicles - since 0.3a a problem - Nobbl - 13.12.2009

No, the problem is, they don't even spawn.
The ownable cars are controlled by a filterscript. The script saves the VehicleID as they spawn. There was never an error with them.
But now, in 0.3, I can't spawn any car with a FS, only via Gamemode.


Re: [HELP] Spawning vehicles - since 0.3a a problem - Nobbl - 15.12.2009

BUMP