Raised This Month: $ Target: $400
 0% 

[HELP] Player_TakeDamage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Id0x.
Junior Member
Join Date: Dec 2020
Old 12-20-2020 , 11:35   [HELP] Player_TakeDamage
Reply With Quote #1

HTML Code:
L 12/20/2020 - 16:19:00: [AMXX] Displaying debug trace (plugin "furien_shop.amxx", version "1.1")
L 12/20/2020 - 16:19:00: [AMXX] Run time error 4: index out of bounds 
L 12/20/2020 - 16:19:00: [AMXX]    [0] phpQLXWlj.sma::Player_TakeDamage (line 454)

PHP Code:
public Player_TakeDamage (iVictimiInflictoriAttackerFloat:DamageiDamageBits)
{
   if(
iInflictor == iAttacker && HaveKnife1[iAttacker] && is_user_alive(iAttacker) && get_user_weapon(iAttacker) == CSW_KNIFE && cs_get_user_team(iAttacker) == CS_TEAM_T)
   {
      
SetHamParamFloat(4Damage 1.1);
      return 
HAM_HANDLED;
   }
   
   return 
HAM_IGNORED;

Id0x. 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 14:14.


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