TheJamcof Posted June 8, 2014 Posted June 8, 2014 Hello! Help me with this script! I don't know how to add coordinates. And I want it to will be show too in F11, in same location. Like GreenZone. I hope it will be working. Sorry my english. local R = 0 local G = 255 local B = 0 function buildNotice() safeLabel = guiCreateLabel(0.35, 0, 1, 1, "You are in a Safe Zone.", true) guiSetFont(safeLabel, "sa-header") guiLabelSetColor(safeLabel,R,G,B) guiSetVisible(safeLabel,false) end addEventHandler("onClientResourceStart", getResourceRootElement( getThisResource() ), buildNotice) function godMode() cancelEvent() end addEvent("zoneEnter", true) addEventHandler("zoneEnter", getRootElement(), function() guiSetVisible(safeLabel, true) addEventHandler ( "onClientPlayerDamage", getRootElement(), godMode) end ) addEvent("zoneExit", true) addEventHandler("zoneExit", getRootElement(), function() guiSetVisible(safeLabel, false) removeEventHandler ( "onClientPlayerDamage", getRootElement(), godMode) end )
Castillo Posted June 8, 2014 Posted June 8, 2014 createRadarArea createColRectangle onClientColShapeHit onClientColShapeLeave
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now