how to add more cars?
#1

hey , im editing a gamemode [LA-RP] and i want to increase the police cars or fire trucks but when i add more the server bugs. I can only use those they have. [example : there are 5 pd cars and when i add 2 more it bugs] .

Do you know if i need to change something or there is a limit pls?
thanks and sorry for bad english
Reply
#2

pawn Код:
AddStaticVehicle(Vehicle ID,X,Y,Z,COLOR1,COLOR2);
X Y and Z are the coordinates and you must get them to place a car / vehicle

Color1 and color2 are the colors of the vehicle, you must change them, example -1
Reply
#3

the bug you are talking about is it that the cars IDS are mixed up? and some cars that are Fire become Ambulance etc?
Reply
#4

Quote:
Originally Posted by Castle
the bug you are talking about is it that the cars IDS are mixed up? and some cars that are Fire become Ambulance etc?
Yes exactly that one ;/ the ids gets mixed , what i need to do?
Reply
#5

Anyone knows pls what i need to do?
Reply
#6

Just add in your GamoMode Script...
Search for OnGameModeInit

Then

AddStaticVehicle(playerid,ID,x,y,z,c1,c2);
Reply
#7

My problem is not how to add a normal car that it easy but how to add more faction cars without bugging the server (the id's gets mixed , you enter in a police car and it tells me stealing an ambulance.) because when i edited, i put more than how much there was.

i think i need to change something from the gamemode but i don't know. HELP :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)