Jump to content

[HELP]Show gui only for the gui who hits the marker


Recommended Posts

Posted

Hello, I made a panel, but when i hit it, The guy show to the others players

function showGuiAuto ( ) 
guiSetVisible ( autoventana, true) 
showCursor ( true ) 
end 
addEventHandler ( "onClientMarkerHit", auto, showGuiAuto ) 

help please, Thanks

Posted
addEventHandler("onClientMarkerHit", auto, 
function( p ) 
if p == localPlayer then 
guiSetVisible ( autoventana, true) 
showCursor ( true ) 
end 
end 

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