Jump to content

Script trocar paintjobs


Recommended Posts

Posted

Galera, eu tenho um script que troca as skins dos carros, vocês teriam o script para trocar as paintjobs? Obrigado.

"As guerras vem e vão, mas meus soldados são eternos"

Tupac Amaru I

Posted
addCommandHandler( "setpaintjob", 
    function (player, cmdName, id) 
        local veh = getPedOccupiedVehicle(player) 
        if veh and (id >= 0 and id <= 3) then 
            if setVehiclePaintjob(veh, id) then 
                outputChatBox("Você mudou a pintura do seu veículo", player) 
            end 
        end 
    end, false, false 
) 

Se for via comando só usar isso.

Please do not PM me with scripting related question nor support, use the forums instead.

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...