Jump to content

Nothing Happen


xeon17

Recommended Posts

I created a script whitch let cars have the color of Team , but it not work vehicle get invisible lol.

function Car_Color ( player ) 
                 if(isElementWithinMarker(player,marker2)) then 
                 local playerTeam = getPlayerTeam ( player ) 
                 if ( playerTeam ) then 
                 local r, g, b = getTeamColor ( playerTeam ) 
                 setVehicleColor( Maverick, r, g, b ) 
              end 
        end 
   end 
addCommandHandler ( "comprar", Car_Color  ) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...