View Single Post
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 03-20-2018 , 16:21   Re: Knife mod Respawns me under the map?
Reply With Quote #6

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.
__________________

Last edited by Black Rose; 03-20-2018 at 16:22.
Black Rose is offline