Raised This Month: $ Target: $400
 0% 

SV_Rcon not being called?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
AmXDusT
Member
Join Date: Feb 2019
Location: Italy / Albania
Old 08-13-2019 , 13:52   SV_Rcon not being called?
Reply With Quote #1

Hi, not sure if this is the right place.
I'm using orpheu v2.6.3 and I'm trying to use the SV_Rcon function whenever some user uses rcon in the server. While in windows it seems to work, on linux it doesn't, neither in 1.8.2 nor 1.8.3.
Idk if it's a signature problem since the linux value is always "SV_Rcon".
I use the SV_Rcon_Validate too in the same plugin/server and that one works though.
PHP Code:
public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
OrpheuRegisterHook(OrpheuGetFunction("SV_Rcon"), "On_Rcon_Pre"OrpheuHookPre)
}
public 
On_Rcon_Pre(p_Address)
{
    
//client_print(0, print_chat, "asdasdasdadadads")
    
g_Address p_Address

Attached Files
File Type: zip SV_Rcon.zip (355 Bytes, 40 views)

Last edited by AmXDusT; 08-13-2019 at 13:52.
AmXDusT is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode