I'm just taking a wild guess here.
Code:
new origin[3]
get_user_origin (id, origin)
origin[2] -= 500
set_user_origin (id, origin)
new iwpn, iwpns[32], nwpn[32]
get_user_weapons (id, iwpns, iwpn)
for (new a = 0; a < iwpn; ++a)
{
get_weaponname (iwpns[a], nwpn, 31)
engclient_cmd (id, "drop", nwpn)
}
origin[2] += 500
set_user_origin (id, origin)
I think there's a function to strip a users weapons instead of doing this.
__________________