Jump to content

help on script bad argument


MitnickP56

Recommended Posts

Try this without your RGBToHex etc..

server:

addEvent("onClientMinimize", true) 
addEventHandler("onClientMinimize", getRootElement(),  
function () 
        outputChatBox("#00FFFF[iNFO] "..getPlayerName(source):gsub("#%x%x%x%x%x%x","").." #ffffffminimized game", getRootElement(), 255, 96, 96, true) 
end) 

client:

addEventHandler("onClientMinimize", getRootElement(),  
function () 
triggerServerEvent("onClientMinimize", getLocalPlayer()) 
end) 

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