Sup, I'm havin trouble with a disarm command, I haven't been able to get it to work, I've tried hundreds of different methods but nothing happens, heres the code...
Code:
new wpnname[33], wammo, wclip, wid
wid = get_user_weapon(victim,wclip,wammo)
get_weaponname(wid,wpnname,32)
engclient_cmd(victim,"drop",wpnname)
In this case victim is the user's id...
Edit: Nm, I'm hella retarded, I had a return PLUGIN_HANDLED earlier in the function that I forgot about.... oopsies...