[HELP] No nitro? (more details)
#1

Hello,

I got a server with a few begining commands (heal, repair, armor... (i don't have a /help but if someone can say how to do it, thanks). I added cars with nitro, colors... (1 I put the m in my GM, and when i reboot my server, the cars are here, the color are the same, but there is no more nitro. Why?

PHP код:
AddStaticVehicle(451,2214.3674,1967.3929,10.5269,268.1774,36,36);
    
AddStaticVehicle(412,2199.8669,1856.6261,10.6580,359.8961,11,1); // civil1
    
AddStaticVehicle(429,2188.7861,1821.8970,10.5000,359.6220,14,14); // civil3
    
AddStaticVehicle(415,2236.5688,1879.3956,10.5622,179.0835,40,1); // civilcar1
    
AddStaticVehicle(477,2234.8699,1813.6987,10.5728,215.7791,6,0); // carcivil2
    
AddStaticVehicle(500,2159.6938,1823.5043,10.9278,184.3675,0,0); // carcivil5
    
AddStaticVehicle(463,2212.4038,1837.2905,10.3600,1.7634,84,84); // motocivil1
    
AddStaticVehicle(526,2188.7847,1856.3617,10.5524,0.0605,17,1); // civilcar6
    
AddStaticVehicle(451,1616.2961,1161.1023,13.8679,359.8521,16,16); // caraeroportturismo
    
AddStaticVehicle(592,1477.9004,1784.6732,12.0086,179.8240,1,1); // avion1
    
AddStaticVehicle(586,1328.5482,1279.8279,10.3398,313.9273,79,0); // motoaero1
    
AddStaticVehicle(586,1329.0248,1277.8472,10.3395,313.0038,8,1); // motoaero2
    
AddStaticVehicle(593,1278.8198,1323.7959,11.2804,267.6385,6,0); // ptavion1
    
AddStaticVehicle(593,1283.5000,1361.5303,11.2819,272.8301,22,1); // ptavion2
    
AddStaticVehicle(587,1312.5825,1279.4080,10.5122,359.8883,149,149); // caraero1
    
AddStaticVehicle(461,1308.7064,1251.6571,10.4080,307.0088,6,0); // motoaero3
    
AddStaticVehicle(409,2184.4690,1690.1351,10.8855,39.4665,34,0); // mafialimousine2
    
AddStaticVehicle(409,2186.3813,1666.1411,10.8991,15.0163,1,1); // mafia limousine 1
    
AddStaticVehicle(421,2186.5117,1676.7623,10.9405,26.8828,6,149); // mafia speed 1
    
AddStaticVehicle(477,2077.9177,1624.7759,10.4952,182.5649,0,1); // rue 1
    
AddStaticVehicle(520,1966.7363,1915.9510,131.8681,151.9563,0,0); // hydra
    
AddStaticVehicle(429,2198.8701,1810.4550,10.4347,0.2494,6,0); // civil car 7 
PS: I spawn cars with vspawner and save them with /save.

Thanks for helping,
Sneling
Reply
#2

If you want to spawn every car with nitro you could add
pawn Код:
public OnVehicleSpawn(vehicleid)
{
    AddVehicleComponent(vehicleid, 1010);
    return 1;
}
Reply
#3

Thanks,

I'll try it in a few hours, it's 7am and i don't want my parents woke up( i'm french).

But the thing is i want all my vehicule have nitro exept the "Limousines", monster trucks...

Finally, can someone say to me how to do a /nos command?(When you do /nos, you have infinite(no loading time) nitro on the car you use(if you change car you keep it) until you are killed.

Thanks
Reply
#4

It's not working.
Reply
#5

pawn Код:
CMD:nos(playerid,params[])
{
    if(!IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid,0x00FF00AA,"You must be on car to use that command.");
    else
    {
    new vehicleid;
    AddVehicleComponent(vehicleid, 1010);
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)