Raised This Month: $ Target: $400
 0% 

detect when pev_body changes


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-09-2015 , 10:29   Re: detect when pev_body changes
Reply With Quote #4

So you're talking player's pev->body. Because it's used by others entities.

From game:

- Set to 1:
when you buy defuser kit (BuyItem)
when C4 is given (CHalfLifeMultiplay::GiveC4)
when you grab the c4 on the ground (CWeaponBox::Touch)
when you get defuser kit on the ground (CItemThighPack::MyTouch)
when you spawn and you have already a defuser kit (CBasePlayer::Spawn)
- Set to 0:
when you choose appereance (HandleMenu_ChooseAppearance)
when all items are removed and you have whatever c4/defuser (RemoveAllItems)
when you are killed and you have a defuser kit (CBasePlayer::Killed)
when you become VIP (CBasePlayer::MakeVIP)
when VIP has touched the safe zone, when you disappears and if you have defuser kit (CBasePlayer::Disappear)
when you spawn and you don't have defuser kit (CBasePlayer::Spawn)
when you drop C4 (CBasePlayer::DropPlayerItem)
when you switch team and you have the defuser kit (CBasePlayer::SwitchTeam)
when you plant the bomb (CC4::PrimaryAttack)
You still don't explain what are you trying to do.
__________________

Last edited by Arkshine; 01-09-2015 at 10:33.
Arkshine 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 15:28.


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