micheal1230 Posted May 15, 2012 Share Posted May 15, 2012 Well I Want This Message To Post World Wide Over The Server AKA The arrayPlayer Part Main Part: outputChatBox("The Current Event Has Been Unlocked!!!",arrayPlayer,0,255,255) Whole Function: function lockevent(thePlayer,commandName) if not exports.global:isPlayerSuperAdmin(thePlayer) then return end if not getElementData(root,"activeevent") then outputChatBox("There are no active events",thePlayer,255,2,2) return end outputChatBox("The Current Event Has Been Unlocked!!!",arrayPlayer,0,255,255) setElementData(root,"lockevent",false) triggerClientEvent(root,"doOutput",root,255,255,255,"EVENT: Current event has been unlocked by an admin") end addCommandHandler("unlockevent",lockevent) Link to comment
Castillo Posted May 15, 2012 Share Posted May 15, 2012 What is "arrayPlayer"? if you want to output to everyone then use: "root". Link to comment
micheal1230 Posted May 15, 2012 Author Share Posted May 15, 2012 What is "arrayPlayer"? if you want to output to everyone then use: "root". Thanks Man! Link to comment
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