Or just use this:
Code:
/* Made by fragers (also known as carl or svendude)
Use at your own risk! This is my first script so I
am not responsible if this script makes your computer
blow up.
Author: Svendudes
Version: 1.0
date started: December 23, 2004
*/
#include <amxmodx>
#include <amxmisc>
#include <fun>
public plugin_init() {
register_plugin("fun gravity","1.0","Svendude")
register_concmd("amx_gravity","funcgravity", ADMIN_BAN," : Changes the gravity of a player")
}
public funcgravity(id,level,cid) {
if(!cmd_access(id,level,cid,1)){
console_print(id, "You have no access to that command")
return PLUGIN_HANDLED
}
new arg[5]
read_argv(1, arg, 4)
set_user_gravity(id, floatstr(arg))
return PLUGIN_HANDLED
}
to use do like
amx_gravity 1.0 (normal)
amx_gravity 0.3
__________________