Quote:
Originally Posted by Mr. Frost
I used your code
|
Try this
Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("Jump button function", "1.0", "Your name")
register_clcmd("+@jump", "clcmd_jump1")
register_clcmd("-@jump", "clcmd_jump2")
}
public clcmd_jump1(id)
{
// Player push jump button
// Here your function
return PLUGIN_HANDLED
}
public clcmd_jump2(id)
{
// Player release jump button
// Here your function
return PLUGIN_HANDLED
}