How to add Muiltp. Cars on a Script.
#1

I use this
Код:
public OnVehicleSpawn(vehicleid)
	AddStaticVehicle(523,-1607.5027,732.4973,-5.6715,263.9064,0,0); // SFPD Motor
	AddStaticVehicle(523,-1607.3356,730.5137,-5.6860,269.3144,0,0); // SFPD Motor
	AddStaticVehicle(597,-1606.5939,673.6274,6.9557,178.6848,0,1); // SFPD Car
	AddStaticVehicle(597,-1600.2363,651.6506,6.9560,1.5314,0,1); // SFPD Car
	AddStaticVehicle(597,-1600.2363,651.6506,6.9560,1.5314,0,1); // SFPD Car
	AddStaticVehicle(597,-1604.7295,651.8078,6.9563,2.6099,0,1); // SFPD Car
	AddStaticVehicle(597,-1599.7600,672.8246,6.9564,181.6137,0,1); // SFPD Car
	AddStaticVehicle(597,-1593.8296,651.8841,6.9570,0.6253,0,1); // SFPD Car
	AddStaticVehicle(597,-1594.2769,672.9948,6.9553,180.5771,0,1); // SFPD Car
	AddStaticVehicle(597,-1587.2527,651.6034,6.9565,1.7816,0,1); // SFPD Car
	AddStaticVehicle(597,-1587.9595,673.3833,6.9565,180.8531,0,1); // SFPD Car
Reply
#2

Put those cars under


pawn Код:
OnGameModeInit...
Reply
#3

Okay, so you have that?? and??
Sorry I kinda don't get your subject title

and why don't you just put it under
pawn Код:
OnGameModeInit()
{
return 1;
}
Reply
#4

I got a other error for the vehicle death
Reply
#5

Quote:
Originally Posted by Badandy
I got a other error for the vehicle death
Okay what error is it? and show us the code of the error
so we can help you
Reply
#6

Nvm I fixed
Reply
#7

Becuz you actually read our post's huh
Reply
#8

ya kinda and i accidently removed the return 1; on OnVehicleSpawn
Reply
#9

Well thata do is(:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)