02.03.2012, 07:18
(
Последний раз редактировалось zombie13333; 02.03.2012 в 22:05.
)
I understand what it means. 0 = Not Preloaded , 1 = Preloaded
But, all my vehicles are preloaded 0.
I have tried many methods such as:
AddVehicle() On GameModeInit
AddVehicle() On PlayerConnect
Even moving around the function.
Still, preloaded 0 when I connect.
Basically, I don't understand how to make the vehicles preloaded.
Will I have to NOT use a streamer?
Right now I am using Double-O-Stream.
I also have a customized 1 line AddVehicle command.
The problem I'm having with it being not preloaded is that with the streamer, I type /dl
and the Vehicle ID's will change randomly with the streamer when I go from place to place
(Obviously because the streamer is creating the vehicle when near the spawn)
How can I change this? Because when I enter the vehicle it comes up with it's custom ID, but it does not match the actual /dl Vehicle ID.
A little frustrated at this point. Help is highly appreciated.
Here is an example:
Basically there are written ID's for the cars in a .ini file, but they do not match the real in-game Vehicle ID.
I want them to match, but I'm unsure if it's possible without pre-loading(Which I am wanting to do)
The first number in the example is the custom ID (%d.ini)
It's loaded in order so the in-game ID's should be in order as well.
But, all my vehicles are preloaded 0.
I have tried many methods such as:
AddVehicle() On GameModeInit
AddVehicle() On PlayerConnect
Even moving around the function.
Still, preloaded 0 when I connect.
Basically, I don't understand how to make the vehicles preloaded.
Will I have to NOT use a streamer?
Right now I am using Double-O-Stream.
I also have a customized 1 line AddVehicle command.
Код:
Format: AddVehicle(ID, ModelID, X, Y, Z, Rotation, Color1, Color2, Respawn Delay, Faction, Price) ~Faction has to be 0 for buyable car
and the Vehicle ID's will change randomly with the streamer when I go from place to place
(Obviously because the streamer is creating the vehicle when near the spawn)
How can I change this? Because when I enter the vehicle it comes up with it's custom ID, but it does not match the actual /dl Vehicle ID.
A little frustrated at this point. Help is highly appreciated.
Here is an example:
Код:
AddVehicle(0, 439, 1834.8577, -1871.7354, 13.2839, 180, 25, 78, 0, 0, 560); // LS - 24/7 || STALLION || AddVehicle(1, 439, 1836.6917, -1853.4697, 13.2858, 359, 25, 78, 0, 0, 560); // LS - 24/7 || STALLION || AddVehicle(2, 445, 1841.4594, -1871.6487, 13.2647, 179, 39, 39, 0, 0, 120); // LS - 24/7 || ADMIRAL ||
I want them to match, but I'm unsure if it's possible without pre-loading(Which I am wanting to do)
The first number in the example is the custom ID (%d.ini)
It's loaded in order so the in-game ID's should be in order as well.