27.08.2010, 18:28
(
Last edited by CoaPsyFactor; 18/07/2014 at 12:27 AM.
)
CreateVehicle by CoaPsy is new system, it allows you to create vehicles with id that you want, but you must follow this step:
1. You can't add vehicle with id 1 and then with id 3 it will not create that vehicle with id 3, so you must create vehicle with id 1 and id 2, but it doesn't matter do you first create vehicle with id 2 in script and then id 1.
2. You have to include this file.
Here is an example
and after you do this you have to add those vehicles, with this function AddVehicles1();
the most important is that you follow that sequence if you want to add 10 vehicles don't create one with id 5 and no one with id 4, it will add then only vehicles with id 1,2 and 3.
PASTEBIN
Download include file
1. You can't add vehicle with id 1 and then with id 3 it will not create that vehicle with id 3, so you must create vehicle with id 1 and id 2, but it doesn't matter do you first create vehicle with id 2 in script and then id 1.
2. You have to include this file.
Here is an example
pawn Code:
CreateVeh(5, 451, Float:x, Float:y, Float:z, Float:fa, color1, color2, respawn_delay);//this will create Turismo with id 5
CreateVeh(2, 429, Float:x, Float:y, Float:z, Float:fa, color1, color2, respawn_delay);//this will create Banshee with id 2
CreateVeh(3, 440, Float:x, Float:y, Float:z, Float:fa, color1, color2, respawn_delay);//this will create Rumpo with id 3
CreateVeh(1, 442, Float:x, Float:y, Float:z, Float:fa, color1, color2, respawn_delay);//this will create Romero with id 1
CreateVeh(4, 445, Float:x, Float:y, Float:z, Float:fa, color1, color2, respawn_delay);//this will create Admiral with id 4
pawn Code:
AddVehicles1();
PASTEBIN
Download include file