Raised This Month: $ Target: $400
 0% 

What's the best way to detect entity type?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 12-25-2006 , 06:38   Re: What's the best way to detect entity type?
Reply With Quote #14

My joy was premature.

Can someone test attached script? I always get cs_get_weapon_id() = 0. What's wrong?

PS. How to test this: just throw a weapon and look into console.
Attached Files
File Type: sma Get Plugin or Get Source (test_cs_get_weapon_id.sma - 588 views - 692 Bytes)

Last edited by Simon Logic; 12-25-2006 at 07:02.
Simon Logic is offline
Send a message via Skype™ to Simon Logic
 


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 20:19.


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