ive searched and came up with some ideas,
but im still not certain.
heres what i got:
Style A:
Code:
#include <amxmodx>
public plugin_init()
{
register_srvcmd("changelevel", "srvcmd_changelevel");
}
Style B:
Code:
#include <amxmodx>
#include <fakemeta>
public plugin_init()
{
register_forward(FM_ChangeLevel, "fm_ChangeLevel", 0);
}
Style C: (which i don't understand much of)
http://forums.alliedmods.net/showthread.php?t=54029
im not sure on which ones will work and if more than one does, which one is better...
help?
__________________