Locating vehicles
#1

So I want when a player spawns, he finds a list of his vehicles and locations, but lets get to the vehicles only for now and I'll add the locations once I know how to list the vehicles
PHP код:
//That's how I get the vehicle owner/s name, and I know how to match it when a player name
new file[60],vehicleowner[24];
    for(new 
0MAX_VEHICLES_BUILTi++)
    {
        
format(file,sizeof(file),"Vehicles/%i.ini",i);
        if(
fexist(file))
        {
            
INI_ParseFile(file"LoadVehicles_%s", .bExtra true, .extra i);
            
format(vehicleownersizeof(vehicleowner), "%s"VInfo[i][Owner]);
//matching with a name
if(strcmp(pName,VInfo[i][Owner]) == 0
The question here is how to make a list of cars in chat like:
1. Infernus -will addd the location here later
2. Bullet -wl;l add the location here later
3. FCR -........

thank you
Reply


Messages In This Thread
Locating vehicles - by Vanter - 06.07.2015, 23:14
Re: Locating vehicles - by Jefff - 06.07.2015, 23:42

Forum Jump:


Users browsing this thread: 3 Guest(s)