I am need some help, this script dont working!
Code:
public plugin_precache()
{
new teszt = OrpheuGetFunctionAddress(OrpheuGetFunction("SV_CountPlayers"))
new address
OrpheuMemoryGetAtAddress(teszt, "SV_CountPlayers", address);
log_to_file("kiki.log", "ERTEKE: %d", teszt);
}
and log:
L 09/24/2012 - 14:16:45: [ORPHEU] Invalid memory structure "SV_CountPlayers"
L 09/24/2012 - 14:16:45: [AMXX] Displaying debug trace (plugin "teszt.amxx")
L 09/24/2012 - 14:16:45: [AMXX] Run time error 10: native error (native "OrpheuMemoryGetAtAddress")
L 09/24/2012 - 14:16:45: [AMXX] [0] teszt.sma::plugin_precache (line 24)
__________________