Jump to content

Help whit colors and blur


xPikachuu

Recommended Posts

Hii :D , i'm newbie there, and i make that post because i need a little help whit 2 "problems" then i have whit my local sv,

1st.- How can i disable the "Blur effect"?

i mean this one:

AktLH.jpg

That effect lag me and i don't like how does it look.

And 2nd: How can i change the car color whit RGB codes? i know than it's possible whit MTA 1.1.1 but i don't have an idea of how to do it, i read something in the wiki but i didn't understand nothing... I'm really bad whit scripts so i don't know if i need one or what...

Help :D

Oh and sorry for my bad english :x

Link to comment

This should go in the "Scripting" section.

1):

addEventHandler("onClientResourceStart",resourceRoot, 
function () 
     setBlurLevel(0) 
end) 

2):

addCommandHandler("setvehiclecolor", 
function (thePlayer, cmd, r, g, b) 
     local vehicle = getPedOccupiedVehicle(thePlayer) 
     if (vehicle and tonumber(r) and tonumber(g) and tonumber(b)) then 
          setVehicleColor(vehicle, tonumber(r), tonumber(g), tonumber(b)) 
     end 
end) 

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