Jump to content

fast question about triggerServer


bandi94

Recommended Posts

hello the admin panel use this to send message from /report window to admin panel

local tableOut = {} 
                tableOut.category = guiGetText ( aReportCategory ) 
                tableOut.subject = guiGetText ( aReportSubject ) 
                tableOut.message = guiGetText ( aReportMessage ) 
                triggerServerEvent ( "aMessage", getLocalPlayer(), "new", tableOut ) 

now i make a new panel whit more function's now it is possible that from my resource to triggerServerEvent "aMessage" from admin resource ( client side trigger a server event in another resource )

(to don't put my resource in admin panel script 0 )

thx

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