Raised This Month: $32 Target: $400
 8% 

Stay on ground, not move, weapon.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Screeaam..
Senior Member
Join Date: Jun 2010
Location: Poland
Old 11-25-2014 , 20:34   Stay on ground, not move, weapon.
Reply With Quote #1

Hello! How to check:

- Player is standing on ground.
- Player is not moving.
- Weapon already holding.
- How to get ID of player when we are looking at him while we are aktually dead?
- How to block use any weapon?

Last edited by Screeaam..; 11-25-2014 at 20:46.
Screeaam.. is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 11-25-2014 , 21:30   Re: Stay on ground, not move, weapon.
Reply With Quote #2

GetEntityFlags(client) & FL_ONGROUND
if(!GetVectorLength(Velocity))
? Depends on game, GetClientWeapon/GetPlayerWeaponSloy
Traceray
? Depends on game
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Screeaam..
Senior Member
Join Date: Jun 2010
Location: Poland
Old 11-26-2014 , 13:54   Re: Stay on ground, not move, weapon.
Reply With Quote #3

Game is CS:GO.
Screeaam.. is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 11-26-2014 , 18:17   Re: Stay on ground, not move, weapon.
Reply With Quote #4

Quote:
Originally Posted by friagram View Post
Traceray
inb4 GetClientAimTarget (or even observertarget in some cases)
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.

Last edited by Dr. Greg House; 11-26-2014 at 18:18.
Dr. Greg House is offline
Screeaam..
Senior Member
Join Date: Jun 2010
Location: Poland
Old 11-26-2014 , 19:01   Re: Stay on ground, not move, weapon.
Reply With Quote #5

I need function when I'm already dead and observe other player I need to get his for example nick or id of this player. GetClientAimTarget - that function starts when we are currently looking at player when we are alive right? I need function similar to "RankMe" when we are dead we see statistics of another player which we are already observe him.

And how to block using e.g. M4 in CS:GO?
Screeaam.. is offline
Screeaam..
Senior Member
Join Date: Jun 2010
Location: Poland
Old 11-26-2014 , 19:02   Re: Stay on ground, not move, weapon.
Reply With Quote #6

I need function when I'm already dead and observe other player I need to get his for example nick or id of this player. GetClientAimTarget - that function starts when we are currently looking at player when we are alive right? I need function similar to "RankMe" when we are dead we see statistics of another player which we are already observe him.

And how to block using e.g. M4 in CS:GO?
Screeaam.. is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 11-26-2014 , 19:30   Re: Stay on ground, not move, weapon.
Reply With Quote #7

Use the netprop m_hObserverTarget.
bl4nk 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 23:24.


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