One question
#1

Well I was wondering if theres any script where they have cars mapped around all LS. My debug is corrupted and i cnt access it for now. Any help?

(p.S - I cant redownload sa-mp because it still says file corrupted after redownload)
Reply
#2

Sorry I only have LV, but just use mta map editor, it's easy to spawn cars that way.
Reply
#3

Do you mean like this part (its from grandlarc) ?

pawn Код:
#include <a_samp>
#include "../include/gl_common.inc"
new total_vehicles_from_files=0;

public 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);

}
That is for whole San Andreas, if you dont want the others, just remove the lines
Reply
#4

Like

AddStaticVehicle. Like with their coordinates. Because Im trying to get cars around LS because my debugis down .

EDIT:

Oh yes awesome mann thanks alot! This is awesome. thanks man


EDIT: Would this work. Do i need to add

#include /include/gl_common?

EDIT: nevermind fixed it THANKS ALOT!
Reply
#5

Quote:
Originally Posted by ToPhrESH
Посмотреть сообщение
Like

AddStaticVehicle. Like with their coordinates. Because Im trying to get cars around LS because my debugis down .

EDIT:

Oh yes awesome mann thanks alot! This is awesome. thanks man


EDIT: Would this work. Do i need to add

#include /include/gl_common?
Its added in the normal include folder of your server, so its got to be #include "../include/gl_common.inc"
and the rest of the code
Reply
#6

thanks man i found out what i did lol thanks for oyur help men
Reply
#7

just map them with mta xD
Reply
#8

Good job, pumped a 5 month old topic.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)