Jump to content

[WHERE?]Report resource


John_Scott

Recommended Posts

Posted

Yes,

MTA San Andreas 1.3\server\mods\deathmatch\resources\[admin]\admin\client\gui\admin_report.lua

--    Line 42:  
addCommandHandler ( "report", aReport ) 

Posted
Yes,

MTA San Andreas 1.3\server\mods\deathmatch\resources\[admin]\admin\client\gui\admin_report.lua

--    Line 42:  
addCommandHandler ( "report", aReport ) 

Thanks!

Posted
Yes,

MTA San Andreas 1.3\server\mods\deathmatch\resources\[admin]\admin\client\gui\admin_report.lua

--    Line 42:  
addCommandHandler ( "report", aReport ) 

Problem :S

If is edit this file, in the server not amended :/

Posted

It triggers a server event, check line 1264 of

MTA San Andreas 1.3\server\mods\deathmatch\resources\[admin]\admin\server\admin_server.lua

-- PM all admins to say a new message has arrived 
        for _, p in ipairs ( getElementsByType ( "player" ) ) do 
            if ( hasObjectPermissionTo ( p, "general.adminpanel" ) ) then 
                outputChatBox( "New Admin message from " .. aReports[id].author .. " (" .. aReports[id].subject .. ")", p, 255, 0, 0 ) 
            end 
        end 
  

Posted

Are you editing while the server is running? Then type refreshall into the server console window and it'll reload the changed scripts

Posted

Well if it doesn't give a reply, then it means that you're logged in and that it probably executed alright (it does say 'refreshall completed' in console. But is doesn't say anyting in in chat).

Try /report again?

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