Problem with spawning a vehicle
#5

Quote:
Originally Posted by benjaminjones
Посмотреть сообщение
At the end, none of the commands worked. The same happened to every of them. It says the vehicle has been spawned but the vehicle is not there.
Have you checked the limit to create a car? Maybe you are trying to create more > 2000, forgetting that you already have placed on the server of vehicles so that you do not have enough slots

Check limits:
PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/tottalcar"cmdtexttrue) == 0)
    {
        new
              
num
        
;
        for (new 
GetVehiclePoolSize(); >= 1; --v) {
              if (
GetVehicleModel(v) >= 400 && GetVehicleModel(v) <= 611num++;
        }
        new
             
msg[128]
        ;   
        
format(msgsizeof(msg), "Total of %d vehicles server"num);
        
SendClientMessange(playerid0xFF0000FFmsg);
        return 
true;
    }
    return 
false;

Reply


Messages In This Thread
Problem with spawning a vehicle - by benjaminjones - 27.08.2015, 23:32
Re: Problem with spawning a vehicle - by bensmart469 - 27.08.2015, 23:52
Re: Problem with spawning a vehicle - by benjaminjones - 28.08.2015, 00:43
Re: Problem with spawning a vehicle - by benjaminjones - 28.08.2015, 14:43
Re: Problem with spawning a vehicle - by Logofero - 28.08.2015, 14:59
Re: Problem with spawning a vehicle - by Boot - 28.08.2015, 15:08
Re: Problem with spawning a vehicle - by benjaminjones - 28.08.2015, 17:32
Re: Problem with spawning a vehicle - by GuthiX - 28.08.2015, 18:10
Re: Problem with spawning a vehicle - by benjaminjones - 28.08.2015, 18:50

Forum Jump:


Users browsing this thread: 1 Guest(s)