This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

How to get the player's weapon count ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wangningyu
Member
Join Date: Dec 2011
Location: China.GuangDong
Old 03-03-2014 , 10:45   How to get the player's weapon count ?
Reply With Quote #1

like this , it just return the primary or secoundary weapon count:

public get_weapon_primary_count(id)
{
new i;
...
return i;
}

public get_weapon_secondary_count(id)
{
new i;
...
return i;

}


thanks for your reply !
__________________
One Code , One Dream !

Last edited by wangningyu; 03-03-2014 at 10:48. Reason: add funtion.
wangningyu 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 13:05.


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