Code:
new g_bHasMultiJump[33];
public client_PreThink(id)
{
if (!g_bHasMultiJump[id])
return PLUGIN_CONTINUE;
// Normal code
}
public client_PostThink(id)
{
if (!g_bHasMultiJump[id])
return PLUGIN_CONTINUE;
// Normal code
}
Do this when player chooses the needed menu item:
Code:
g_bHasMultiJump[id] = true;
BTW you should use FM version of it, which uses CmdStart's pre & post forwards instead of pre and post think. It's somewhere in forums writen by me.
__________________