Raised This Month: $ Target: $400
 0% 

Vip script error.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Vaniusha
New Member
Join Date: Jul 2013
Old 01-14-2014 , 13:40   Vip script error.
Reply With Quote #1

Code:
L 01/10/2014 - 09:10:37: [AMXX] Displaying debug trace (plugin "bbxvipsilver.amxx")
L 01/10/2014 - 09:10:37: [AMXX] Run time error 4: index out of bounds 
L 01/10/2014 - 09:10:37: [AMXX]    [0] bbxvipsilver.sma::FwdPlayerDamage (line 87)
Code:
public FwdPlayerDamage(victim, inflictor, attacker, Float:damage, damagebits)
{
	if(inflictor == attacker 
	&& attacker != victim 
	&& g_bHasKnifeB[ attacker ] 
	&& is_user_alive(attacker) 
	&& get_user_weapon(attacker) == CSW_KNIFE )
{
	SetHamParamFloat(4, damage * 2.0);
}
if(inflictor == attacker 
&& attacker != victim 
&& g_bHasAk47[ attacker ]
&& is_user_alive(attacker) 
&& get_user_weapon(attacker) == CSW_AK47 )
{
SetHamParamFloat(4, damage * 2.0);
}
if(inflictor == attacker 
&& attacker != victim 
&& g_bHasDeagle[ attacker ]
&& is_user_alive(attacker) 
&& get_user_weapon(attacker) == CSW_DEAGLE )
{
SetHamParamFloat(4, damage * 2.0);
}


}
Can help me?
Vaniusha is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-14-2014 , 14:13   Re: Vip script error.
Reply With Quote #2

Where is Line 87?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Vaniusha
New Member
Join Date: Jul 2013
Old 01-15-2014 , 00:12   Re: Vip script error.
Reply With Quote #3

Code:
public FwdPlayerDamage(victim, inflictor, attacker, Float:damage, damagebits)
Vaniusha is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-15-2014 , 00:31   Re: Vip script error.
Reply With Quote #4

That is not line 87
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Reply


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 10:15.


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