SA-MP Forums Archive
vehicles color problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: vehicles color problem (/showthread.php?tid=636430)



vehicles color problem - sams90 - 27.06.2017

i have like 700 vehicles in my server but when i respawn all server vehicles then 50% vehicles color turn into black automatically.
help me guys to fix this problem.
PHP код:
ACMD:respawnallveh[5](playeridparams[])
{
    for(new 
0MAX_VEHICLESi++)
    {
        if(
IsVehicleEmpty(i))
            
SetVehicleToRespawn(i);
    }    
    return 
1;




Re: vehicles color problem - GuilhermeNunes - 27.06.2017

Hello I went through the same error as you and this error occurs when you add a car through a map editor I recommend adding manually but please send me the code to min analyze best


Re: vehicles color problem - sams90 - 27.06.2017

Quote:
Originally Posted by GuilhermeNunes
Посмотреть сообщение
Hello I went through the same error as you and this error occurs when you add a car through a map editor I recommend adding manually but please send me the code to min analyze best
omg u are right problem solved thank you.
+rep