Jump to content

[help] StopResource


Recommended Posts

Is correct ?

function FreeroamStop (  player, command, resourceName, commandName, alphaAmount ) 
    if ( getElementDimension ( source ) == 0 and seat == 0 ) then  
        setElementDimension ( source, 1 )     
        setElementDimension ( theFreeroam, 1 )  
        alphaAmount = tonumber(0) 
        guiSetAlpha ( Freeroam, 0 ) 
end 
addCommandHandler ( "irevento", getRootElement(), changeAlpha ) 

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