Raised This Month: $ Target: $400
 0% 

give user multiple weapons (dynamically)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
HLM
Senior Member
Join Date: Apr 2008
Location: C:\WINDOWS\System32
Old 11-05-2013 , 15:58   give user multiple weapons (dynamically)
Reply With Quote #1

the function get_user_weapons(id, weapons[32], &num) will return(?) the bitsum of all weaponbits a player has, I want to create an entity when the user dies with this bit, and when someone touches it, they will pick up all weapons that user had, what would be the easiest way of doing this? I have considered making a switch with the return and starting with the highest bitflag weapon and working my way down to add weapons, I am sure there is an easier way to do this though. any help with this would be greatly appreciated.
__________________
+|- KARMA Respectively

HLM is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode