Probleme compilare plugin

Discutii legate de instalarea, configurarea si modificarea unui server de Counter-Strike.

Moderators: Moderatori ajutatori, Moderatori

Post Reply
Pegasus6ix
Membru, skill 0
Membru, skill 0
Posts: 11
Joined: 11 Nov 2018, 23:25
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Has thanked: 3 times
Contact:

10 Jul 2019, 00:54

Salutare, am o eroare cand incerc sa compilez un plugin de shop ma poate ajuta cineva ? :dissapointed_emoji: Sper ca am postat in zona buna daca nu, scuze :(
mutati-l unde trebuie pentru ca habar n-aveam unde sa postez problema asta.

Eroare compilare :

Code: Select all

//// furienshop3.sma
             \furienshop3.sma(164) : warning 217: loose indentation
             \furienshop3.sma(164) : error 029: invalid expression, assumed zero
             \furienshop3.sma(164) : error 017: undefined symbol "Player_TakeDamage"
             \furienshop3.sma(164) : error 017: undefined symbol "iInflictor"
             \furienshop3.sma(164) : fatal error 107: too many error messages on one line
//
// Compilation aborted.
// 4 Errors.
// Could not locate output file compiled\furienshop3.amx (compile failed).
//
// Compilation Time: 0.28 sec
Liniile un este eroarea :

Code: Select all

public Player_TakeDamage ( iVictim, iInflictor, iAttacker, Float:fDamage ) {
	
	if ( iInflictor == iAttacker && IsPlayer ( iAttacker ) && HasKnife [ iAttacker ] ) {
		
		SetHamParamFloat ( 4, fDamage * 3.0 );
		return HAM_HANDLED;
		
	}
	
	if ( iInflictor == iAttacker && IsPlayer ( iAttacker ) && HasAk47[ iAttacker ] ) {
		
		SetHamParamFloat ( 4, fDamage * 2.0 );
		return HAM_HANDLED;
		
	}
	
	return HAM_IGNORED;
	
}
IG-BOOST.org - Instagram Followers Best, Cheap, Reliable
@IONUTZ
Membru, skill +1
Membru, skill +1
Posts: 127
Joined: 17 Dec 2017, 23:11
Detinator Steam: Da
Fond eXtream: 0
Has thanked: 1 time
Been thanked: 1 time

10 Jul 2019, 15:11

Pune tot pluginu
Pegasus6ix
Membru, skill 0
Membru, skill 0
Posts: 11
Joined: 11 Nov 2018, 23:25
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Has thanked: 3 times
Contact:

11 Jul 2019, 00:14

Am rezolvat deja, totusi apreciez intentia. :)
Post Reply

Return to “Probleme la servere dedicate de Counter-Strike”

  • Information