Jump to content

[I NEED] Car Hide Resource


John_Scott

Recommended Posts

Posted

function invisible( thePlayer ) 
outputChatBox("Láthatatlan") 
        setElementAlpha(getPedOccupiedVehicle( thePlayer ), 0) 
end 
addCommandHandler ( "invisible", invisible ) 

Not working :(

Posted
addCommandHandler("invisible", 
function (thePlayer) 
local vehicle = getPedOccupiedVehicle(thePlayer) 
if vehicle then 
setElementAlpha(vehicle, 0) 
outputChatBox("Láthatatlan") 
end 
end) 

Posted
addCommandHandler("invisible", 
function (thePlayer) 
local vehicle = getPedOccupiedVehicle(thePlayer) 
if vehicle then 
setElementAlpha(vehicle, 0) 
outputChatBox("Láthatatlan") 
end 
end) 

It is not working :S

Posted

use setElementDimension, because setElementAlpha still draws vehicle on screen but draws it "invicible" = bad fps. SetElementDimension doesn't draw vehicle at all (and some other stuff) - as if the vehicle is not there at all = good fps.

Posted
use setElementDimension

setElementDimension won't work here. You can make a car "invisible" by setting its dimension, but you won't be able to drive it.

setElementAlpha still draws vehicle on screen but draws it "invicible" = bad fps.

it still draws the vehicle, so the fps will be the same not worse :)

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