17485) : warning 213: tag mismatch
#7

pawn Код:
if(!strcmp(cmd, "/engine", true) ==0 || strcmp(cmd, "/e", true))
Just use either ! or == 0, not both, since they do the same thing.
And you need to do the same in the second strcmp as well.
pawn Код:
if(!strcmp(cmd, "/engine", true) || !strcmp(cmd, "/e", true))
EDIT:
Quote:
Originally Posted by iZN
yes I know, and I forgot to mention, why the OP even needs this include? when there's this:

Код:
OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
There's OnPlayerTakeDamage and OnPlayerGiveDamage as well which would be just as good, but it's his decision what he wants.
Reply


Messages In This Thread
17485) : warning 213: tag mismatch - by AdiRoS - 29.03.2015, 07:20
Re: 17485) : warning 213: tag mismatch - by CalvinC - 29.03.2015, 08:20
Re: 17485) : warning 213: tag mismatch - by iZN - 29.03.2015, 08:23
Re: 17485) : warning 213: tag mismatch - by CalvinC - 29.03.2015, 08:48
Re: 17485) : warning 213: tag mismatch - by iZN - 29.03.2015, 09:37
Re: 17485) : warning 213: tag mismatch - by AdiRoS - 29.03.2015, 09:53
Re: 17485) : warning 213: tag mismatch - by CalvinC - 29.03.2015, 10:43
Re: 17485) : warning 213: tag mismatch - by AdiRoS - 30.03.2015, 09:32

Forum Jump:


Users browsing this thread: 2 Guest(s)