Jump to content

How To unVisible GUI in other Script !

Recommended Posts

Hello Guys !

I want to unVisible GUI in other script in my script

Example : -

I tried to unVisible Freeroam in my script but I failed

I tried to go to resource freeroam and try but there I Couldn't too -_-

+ I want to CancelEvent for exit from Car but i failed too -_-

I didn't know what is the wrong I went to wiki and copied the Code and make team >>> SKIN >>>>

and Code Didn't Work !!!

That's all for Now Thanks for reading

Link to comment


It's pretty easy to cancel the event to exit from a vehicle , i guess you tried the wrong event xD

Here is a example.

function exitVehicle ( thePlayer, seat, jacked ) --when a player enters a vehicle 
        outputChatBox ( "You can't exit from this vehicle!", thePlayer ) --and tell the player why 
addEventHandler ( "onVehicleStartExit", getRootElement(), exitVehicle ) -- add an event handler for onVehicleStartExit 

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