11.08.2011, 16:05
(
Последний раз редактировалось Calgon; 12.08.2011 в 07:10.
)
You can use IRC_GroupSay, and I presume it will be faster for you to do so in filterscript, you do NOT have to use CallRemoteFunction.
In short: You don't need to use CallRemoteFunction!
Furthermore, you need to look up the format for CallRemoteFunction, that's clearly not what the Wiki shows. Plus, you can only call public functions, so you would have to wrap the native in a public function and forward it, then you could use CallRemoteFunction.
In short: You don't need to use CallRemoteFunction!
Furthermore, you need to look up the format for CallRemoteFunction, that's clearly not what the Wiki shows. Plus, you can only call public functions, so you would have to wrap the native in a public function and forward it, then you could use CallRemoteFunction.
pawn Код:
/* pointless because you can just use IRC_GroupSay in your filterscript WITHOUT CallRemoteFunction.... */
forward pub_IRC_GroupSay(group, echochan[], msg[]);
public pub_IRC_GroupSay(group, echochan[], msg[]) {
return IRC_GroupSay(group, echochan, msg);
}
// put THIS part in your filterscript \/
/* inside some form of scope, like your weapon hack ban part */
CallRemoteFunction("pub_IRC_GroupSay", "dss", 0xFF0000, s, string);