this is my first plugin and im a little lost in what to do so far ive got this
Code:
#include <amxmodx>
#include <fun>
#define PLUGIN "Capture the Hax"
#define VERSION "1.0"
#define AUTHOR "ev0d00b"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_cvar("amx_cth", "1")
register_logevent("Round_Start", 2, "0=World triggered", "1=Round_Start")
}
new hacker
hacker = random(1, get_maxplayers());{
is_user_alive(){
if(is_user_alive = 1);{
return PLUGIN_CONTINUE
}
new hackerName[32];
get_user_name(hacker,hackerName,31)
set_user_maxspeed (hacker,[ Float:speed = - 2.0 ]
and at the moe it wont do anything but im hoping that this will randomly pick someone and make them run faster please help me.