SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 27/06/2017, 04:28 AM   #1
sams90
Banned
 
Join Date: Feb 2017
Posts: 39
Reputation: 2
Default vehicles color problem

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 Code:
ACMD:respawnallveh[5](playeridparams[])
{
    for(new 
0MAX_VEHICLESi++)
    {
        if(
IsVehicleEmpty(i))
            
SetVehicleToRespawn(i);
    }    
    return 
1;

sams90 is offline   Reply With Quote
Old 27/06/2017, 07:53 AM   #2
GuilhermeNunes
Gangsta
 
Join Date: Feb 2017
Posts: 550
Reputation: 8
Default Re: vehicles color problem

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
GuilhermeNunes is offline   Reply With Quote
Old 27/06/2017, 11:14 AM   #3
sams90
Banned
 
Join Date: Feb 2017
Posts: 39
Reputation: 2
Default Re: vehicles color problem

Quote:
Originally Posted by GuilhermeNunes View Post
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
sams90 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spawn vehicles with random color problem MayaEU Scripting Help 6 26/07/2016 10:47 AM
GangZone Color and Base Color problem Xessive Scripting Help 3 24/04/2014 06:51 PM
[HELP]How To Change Color On Vehicles On PPC Trucking?? Veeco Scripting Help 4 30/11/2012 02:12 PM
[ONLINE-APP] Online SA-MP Tools ! ( Teleport, Vehicles, Functions, Color ... ) ! PhyroIS Filterscripts 12 13/11/2010 08:25 PM
How to get Vehicles Color? NewTorran Help Archive 7 22/05/2010 08:54 PM


All times are GMT. The time now is 12:12 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.