No vehicles loading +++ rep if helped
#1

When I log into the server, the vehicles are not there except personal vehicles, so 'CreateVehicleEx's' are not showing up within game.
Reply
#2

i will give you a hint..

Streamer Plugin


http://www.convertffs.com/

I particularly, i use the function
PHP код:
public OnFilterScriptInit() 
a file only to load:

Objects removed.
Objects and vehicles, etc..
Reply
#3

You have already reached the limit of maximum vehicles on map. You have to use a streamer for vehicles.
Reply
#4

Hold on, so all the normal vehicles are there and are visible? Just the personal ones aren't? Sounds like a loading problem to me.
Reply
#5

Use this command and tell us how many vehicles you have already created.
PHP код:
native IsValidVehicle(vehicleid);
 
// Count vehicles
public OnPlayerCommandText(playerid,cmdtext[])
{
    if(!
strcmp(cmdtext,"/countvehicles",true))
    {            
        new
            
count
            
msg[60];
 
        for(new 
iMAX_VEHICLESi++)
        {
            if(
IsValidVehicle(i)) count++;
        }
 
        
format(msgsizeof(msg), "* There are %d valid spawned vehicles on this server."count);
        
SendClientMessage(playerid0x33CCCCFFmsg);
        return 
1;
    }
    return 
0;

Or maybe you have reached the limit of 150 of vehicle models. Look at samp limits what write there.
Although the vehicle model limit in 0.3 is unlimited, if you use a large amount of vehicle models, you may notice parts of your mode become framey as vehicle models are dynamically loaded/unloaded. Keeping the number of vehicle models below 150 is a good idea. Maybe that is the thing that creates you problems.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)