Raised This Month: $51 Target: $400
 12% 

[CS:GO] How to check, is player have usp?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
uurbyrkdr
Senior Member
Join Date: Apr 2015
Old 12-17-2016 , 02:27   [CS:GO] How to check, is player have usp?
Reply With Quote #1

Hi.
I want to check is player have usp, but i got some issues.

PHP Code:
new windex GetEntPropEnt(clientProp_Send"m_hActiveWeapon");
decl String:Classname[64];
GetEntityClassname(windexClassnamesizeof(Classname));
PrintToChatAll("%s"Classname); 
When i have usp, and run it, output is this:
Quote:
weapon_hkp2000
What can i do?

Thank you..

Last edited by uurbyrkdr; 12-17-2016 at 02:27.
uurbyrkdr is offline
CamerDisco
AlliedModders Donor
Join Date: Aug 2015
Location: Poland
Old 12-17-2016 , 07:52   Re: [CS:GO] How to check, is player have usp?
Reply With Quote #2

Use Mitchell stock from there https://github.com/MitchDizzle/Exten...l.sp#L653-L661
instead GetEntityClassname
__________________


Max-Play.pl - the best polish servers
CamerDisco is offline
uurbyrkdr
Senior Member
Join Date: Apr 2015
Old 12-17-2016 , 10:02   Re: [CS:GO] How to check, is player have usp?
Reply With Quote #3

Thank you!
uurbyrkdr 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:01.


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