How to add vehicles from Grand Larceny to my gamemode? -
Cjgogo - 18.04.2011
I tried to do as I saw on a SA-MP tutotrial,but it didn't work,the tutorial said to do this:
#include "../include/gl_common.inc"
new total_vehicles_from_files=0;
pubilc OnGameModeInit
{
// SPECIAL
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/trains.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/pilots.txt");
// LAS VENTURAS
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/lv_law.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/lv_airport.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/lv_gen.txt");
// SAN FIERRO
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/sf_law.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/sf_airport.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/sf_gen.txt");
// LOS SANTOS
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/ls_law.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/ls_airport.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/ls_gen_inner.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/ls_gen_outer.txt");
// OTHER AREAS
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/whetstone.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/bone.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/flint.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/tierra.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/red_county.txt");
printf("Total vehicles from files: %d",total_vehicles_from_files);
return 1;
}
Much more,someone replied the tutorial with: "Thanks,it worked".A friend of mine told me to do the same,but it's not working.It gives me error 029 and warning 215
Re: How to add vehicles from Grand Larceny to my gamemode? -
Cjgogo - 18.04.2011
Anyone help please?
Re: How to add vehicles from Grand Larceny to my gamemode? -
Cjgogo - 18.04.2011
Views 14 > replyes 0 ...
Re: How to add vehicles from Grand Larceny to my gamemode? -
iJumbo - 18.04.2011
Copy the function LoadStaticVehiclesFromFile to your gm and do the same thing
and copy al dyrectories to your server files
STOP BUMPING PLEASE!
Re: How to add vehicles from Grand Larceny to my gamemode? -
Cjgogo - 18.04.2011
What do you mean copying the LoadStaticVehiclesFromFiles function u mean :
new LoadStaticVehiclesFromFile=1
and wich are the other directories?
Re: How to add vehicles from Grand Larceny to my gamemode? -
Cjgogo - 18.04.2011
BTW,if someone could copy-paste what to do it would be nice.BTW,this is the topic where it says what to do,but I don't really understand what to do(at elast I'm chill knowing that other peoples also have problems on this):
https://sampforum.blast.hk/showthread.php?tid=106286
Re: How to add vehicles from Grand Larceny to my gamemode? -
Cjgogo - 21.04.2011
cmon i really need help with this please post the entire code of how to do it.
Re: How to add vehicles from Grand Larceny to my gamemode? -
Cjgogo - 21.04.2011
this seems very hard to be done(please help)
Re: How to add vehicles from Grand Larceny to my gamemode? -
Cjgogo - 21.04.2011
ok I am really sorry for spamming the forum with this topic,but I really don't know what to do,only that IS POSSIBLE so please help
Re: How to add vehicles from Grand Larceny to my gamemode? -
Cjgogo - 21.04.2011
OK,I know this is not allowed and is called BUMPING,but please peoples,there are evn harder scripts to solve than this one,SO PLEASE TELL ME WHAT TO DO
Re: How to add vehicles from Grand Larceny to my gamemode? -
Cjgogo - 21.04.2011
WHAT IS WORNG IS THIS HARDER THAN SCRIPTING GODROLEPLAY IN 60 SECONDS OR WHAT?(sorry peopels for being so MAD BUT REALLY NOW IT'S RIDICOLOUS
BUMP!!!
Re: How to add vehicles from Grand Larceny to my gamemode? -
Cjgogo - 21.04.2011
BUMP!!!
SORRY WAITING FOR ANSWERS SINCE LAST WEEK
Re: How to add vehicles from Grand Larceny to my gamemode? -
Kwarde - 05.05.2011
https://sampforum.blast.hk/showthread.php?tid=253202