[HELP] Problem with car spawns.
#1

I have saved cars all around SA, added them to my gm, but now cars are not spawning - server is empty of cars?
what can i do to make them spawn?
Reply
#2

where did you put the code to spawn the cars? Could you pastebin.ca your script so we could see?
Reply
#3

Using
pawn Код:
AddStaticVehicle(/*VEHID, X, Y, Z, R, COLOR1, COLOR2*/);
CreateVehicle(/*VEHID, X, Y, Z, R, COLOR1, COLOR2, RESPAWN_TIME*/);
?
Reply
#4

it was ok all time, one day i joined my server and there were not any cars.

this is one example. how my car codes look like:

Код:
AddStaticVehicle(551,-1946.9061,269.4415,40.8538,91.8952,45,116);
Reply
#5

Can you show use your whole OnGameModeInit callback?
Reply
#6

Код:
public OnGameModeInit()
{
Reply
#7

Quote:
Originally Posted by Thanatos
where did you put the code to spawn the cars? Could you pastebin.ca your script so we could see?
hey buddy check out wiki site ****** it wiki samp awesome for new scripters
Reply
#8

any ideas? pls help... just say what could be wrong

EDIT: Cars are not spawning in other fs's too...
Reply
#9

Quote:
Originally Posted by cigo
Код:
public OnGameModeInit()
{
EPIC FAIL.
Quote:
Originally Posted by madmatty
Quote:
Originally Posted by Thanatos
where did you put the code to spawn the cars? Could you pastebin.ca your script so we could see?
hey buddy check out wiki site ****** it wiki samp awesome for new scripters
ANOTHER EPIC FAIL.

Im sure he meant that where under did you put the vehicles...



+ You might check your VirtualWorld, you might have different VirtualWorld. Check the OnPlayerSpawn.
Reply
#10

thank you, it was my fault !
Reply


Forum Jump:


Users browsing this thread: