Quote:
Originally Posted by Natsheh
Code:
RegisterHam(Ham_Use, "game_player_equip", "fw_use_pequip")
public fw_use_pequip(ent , caller)
{
}
|
so i tried what you said it hooks onto the player perfectly and thanks for that but unfortnately when i try the code below it strips the player ( something i don't want to happen )
i can make it simple by silent killing him but i would rather deal with it more professionaly and block it off completely,
any help would be much apprecieted ^^
PHP Code:
public fw_use_pequip(ent , caller)
{
if(get_user_team(caller) != 2)
return HAM_SUPERCEDE
}