Raised This Month: $ Target: $400
 0% 

Help with ammo please


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MockingBird
Member
Join Date: Mar 2005
Old 11-15-2009 , 03:31   Re: Help with ammo please
Reply With Quote #2

There are 2 ways

You can either get the entid of the scout by use GetPlayerWeapon or something like that.

With that, you can set m_iClip1 to 0.

The otherway is to create the weapon first with CreateEntity, which returns the entid. Then set its clip to 0, Dispatch it, and teleport it to the player
MockingBird 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 18:20.


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