How to disable PreThink for only 1 person?
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#define PLUGIN "test"
#define VERSION "1.0"
#define AUTHOR "Xalus"
new HamHook:PlayerPreThink[33];
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
for(new i = 0; i < 33; i++) {
PlayerPreThink[i] = RegisterHam(Ham_Player_PreThink, "player", "Ham_PlayerPreThink")
DisableHamForward(PlayerPreThink[i])
}
}
public client_connect(id)
EnableHamForward(PlayerPreThink[id])
This way looks stupid, and won't work also :{
__________________