Tag mismatch
#1

I have very strange problem (i think it is no from this planet)
When i put this in my gm
Код:
else if(Joined[playerid] == 1)
    	{
        	SCM(playerid, 0xF81414, "Ne mozete to dok ste u trci");
        	return 1;
		}
I get this
Код:
C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(4146) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
But when i put this
Код:
else if(Joined[playerid] == true)
    	{
        	SCM(playerid, 0xF81414, "Ne mozete to dok ste u trci");
        	return 1;
		}
Everything is fine. But with second one code is not working properly.
Reply
#2

search for
PHP код:
Joined[MAX_PLAYERS
if I'm not wrong you will find it like
PHP код:
new bool:Joined[MA_PLAYERS]; 
remove bool and everything should be fine
Reply
#3

Thank you master
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)