[Eroare] Plugin WEAPONS MENU - Anti - Furien

Modificari necesare ale pluginurilor

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
RaCkEm
Membru, skill +2
Membru, skill +2
Posts: 629
Joined: 20 May 2013, 14:55
Detinator Steam: Da
SteamID: rackem97
Has thanked: 6 times
Been thanked: 7 times
Contact:

25 Nov 2013, 18:45

Salut . As dori si eu o rezolvare la urmatoarea eroare !

[AMXX] Displaying debug trace (plugin "Fm_Weapons.amxx")
L 11/25/2013 - 18:40:26: [AMXX] Run time error 10: native error (native "get_user_weapon")
L 11/25/2013 - 18:40:26: [AMXX] [0] Fm_Weapons.sma::fwTakeDamage (line 476)
| Afiseaza codul
public fwTakeDamage( Victim, Inflictor, Attacker, Float:Damage ) 
{
	if( get_user_weapon( Attacker ) == CSW_AK47 && AreGoldenAK[ Attacker ] ) 
	{
		SetHamParamFloat( 4, Damage * 3 )
	}
	
	if( get_user_weapon( Attacker ) == CSW_M4A1 && AreGoldenM4[ Attacker ] ) 
	{
		SetHamParamFloat( 4, Damage * 3 )
	}
	
	if( get_user_weapon( Attacker ) == CSW_MP5NAVY && AreGoldenMP5[ Attacker ] ) 
	{
		SetHamParamFloat( 4, Damage * 3.2 )
	}
	
	if( get_user_weapon( Attacker) == CSW_XM1014 && AreGoldenXM[ Attacker ] ) 
	{
		SetHamParamFloat( 4, Damage * 3 )
	}
	if( get_user_weapon( Attacker) == CSW_M249 && AreFatala[ Attacker ] ) 
	{
		SetHamParamFloat( 4, Damage * 3.3 )
	}
}
Multumesc anticipat .
Rapidserver
RaCkEm
Membru, skill +2
Membru, skill +2
Posts: 629
Joined: 20 May 2013, 14:55
Detinator Steam: Da
SteamID: rackem97
Has thanked: 6 times
Been thanked: 7 times
Contact:

27 Nov 2013, 18:27

UP . Ma poate ajuta cineva ?
LordOfNothing
Membru, skill +1
Membru, skill +1
Posts: 387
Joined: 19 Jul 2013, 14:51
Detinator Steam: Nu
Reputatie: Restrictie PM
Has thanked: 11 times
Been thanked: 34 times

28 Nov 2013, 19:51

posteaza toata sursa
RaCkEm
Membru, skill +2
Membru, skill +2
Posts: 629
Joined: 20 May 2013, 14:55
Detinator Steam: Da
SteamID: rackem97
Has thanked: 6 times
Been thanked: 7 times
Contact:

30 Nov 2013, 19:04

UP . Cineva ?
Post Reply

Return to “Modificari pluginuri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests