Raised This Month: $ Target: $400
 0% 

Getting get_user_weapon for all weapons on spawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Cv3
Junior Member
Join Date: Sep 2014
Old 12-10-2014 , 11:26   Getting get_user_weapon for all weapons on spawn
Reply With Quote #1

Code:
		if (get_user_weapon(id, _, _) == CSW_SCOUT || get_user_weapon(id, _, _) == CSW_AWP )
			client_printcolor(id, "YOU GOT AWP || SCOUT");
I got few mods messing with each other. One of them gives you free AWP/SCOUT (bf2) but the other one (csdm alike) gives you a menu to choose weapon (which strips previous weps).

I figured out how to fix this but I can't get all user weapons, for some reason it works sometime and sometime it doesn't is there another way to do that except for running this on player spawn ?
Cv3 is offline
 



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 15:27.


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