Raised This Month: $ Target: $400
 0% 

Checking Primary/Secondary Weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cs1.7
Senior Member
Join Date: Oct 2008
Old 04-05-2010 , 07:01   Re: Checking Primary/Secondary Weapons
Reply With Quote #1

@Arkshine

very nice,

but as i tested, i found out the function checks if the player posesses a primary (not if he has switched to a primary). That means it returns 1 if player has a M4 in inventory..although he is holding a deagle. It checks if player carries only primary. Very interesting function ...


@ConnorMcLeod

As i see your code checks for weapon slots. Very smart, man! Can you show an example how to use it.


__________________
_____________
/_____\
[° ||| °]
./..............\▓

Last edited by cs1.7; 04-05-2010 at 10:20.
cs1.7 is offline
Reply



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 01:37.


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