What does this mean help ?
#1

C:\Documents and Settings\Owner\Desktop\SA-MP Optical\gamemodes\OGv63.pwn(20185) : warning 213: tag mismatch
C:\Documents and Settings\Owner\Desktop\SA-MP Optical\gamemodes\OGv63.pwn(20193) : warning 213: tag mismatch
C:\Documents and Settings\Owner\Desktop\SA-MP Optical\gamemodes\OGv63.pwn(20243) : warning 213: tag mismatch
C:\Documents and Settings\Owner\Desktop\SA-MP Optical\gamemodes\OGv63.pwn(20250) : warning 213: tag mismatch

Here is the coding

Код:
if(strcmp(cmd, "/enter", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
		{
		    for(new i = 0; i < sizeof(DIntInfo); i++)
			{
				if (IsPlayerInRangeOfPoint(playerid,3.0,DIntInfo[i][doorEntranceX], DIntInfo[i][doorEntranceY], DIntInfo[i][doorEntranceZ]))
				{
					if(PlayerInfo[playerid][pPropertykey] == i || DIntInfo[i][doorLocked] == 0)
					{
					    PlayerPlaySound(playerid, 1095, 0.0, 0.0, 0.0);
						SetPlayerInterior(playerid,DIntInfo[i][doorInterior]);
						SetPlayerPos(playerid,DIntInfo[i][doorExitX],DIntInfo[i][doorExitY],DIntInfo[i][doorExitZ]);
						SetPlayerFacingAngle(playerid, DIntInfo[i][doorEntAngle]);
						PlayerInfo[playerid][pInt] = DIntInfo[i][doorInterior];
						SetPlayerVirtualWorld(playerid, DIntInfo[i][doorVirtual]);
						PlayerInfo[playerid][pLocal] = i;
					}
					else
					{
						GameTextForPlayer(playerid, "~r~Door Locked", 5000, 1);
					}
				}
			}
			for(new i = 0; i < sizeof(HIntInfo); i++)
			{
				if (IsPlayerInRangeOfPoint(playerid,3.0,HIntInfo[i][doorEntranceX], HIntInfo[i][doorEntranceY], HIntInfo[i][doorEntranceZ]))
				{
					if(PlayerInfo[playerid][pPhousekey] == i || HIntInfo[i][doorLocked] == 0)
					{
					    PlayerPlaySound(playerid, 1095, 0.0, 0.0, 0.0);
						SetPlayerInterior(playerid,HIntInfo[i][doorInterior]);
						SetPlayerPos(playerid,HIntInfo[i][doorExitX],HIntInfo[i][doorExitY],HIntInfo[i][doorExitZ]);
						SetPlayerFacingAngle(playerid, HIntInfo[i][doorEntAngle]);
						PlayerInfo[playerid][pInt] = HIntInfo[i][doorInterior];
						SetPlayerVirtualWorld(playerid, i);
						PlayerInfo[playerid][pHLocal] = i;
					}
					else
					{
						GameTextForPlayer(playerid, "~r~Door Locked", 5000, 1);
					}
				}
				else if (IsPlayerInRangeOfPoint(3.0, playerid,1258.8214,-785.4948,92.0302))
			    {
			        SetPlayerInterior(playerid,3);
			        SetPlayerVirtualWorld(playerid,999);
			    	SetPlayerPos(playerid,1261.7582,-784.7388,1091.9063); //Edit
			    	CreateDynamic3DTextLabel("Gambino HQ",TEXTCOLOR_YELLOW, 1258.8214,-785.4948,92.0302 +1.0, 50.0); // Gambino HQ Side
			    	PlayerInfo[playerid][pInt] = 5;
		    	}
		    	else if (IsPlayerInRangeOfPoint(3.0, playerid,1298.4485,-798.9156,84.1406))
		    	{
		     	    SetPlayerInterior(playerid,3);
		    	    SetPlayerVirtualWorld(playerid,999);
		    		SetPlayerPos(playerid,1298.8547,-796.1196,1084.0078); //Done
		    		CreateDynamic3DTextLabel("Gambino HQ",TEXTCOLOR_YELLOW, 1298.4485,-798.9156,84.1406 +1.0, 50.0); // Gambino HQ Front
		    		PlayerInfo[playerid][pInt] = 5;
		    	}
			}
		}
		return 1;
	}
Any help ?
Reply
#2

Its means that you use Float in Integer, or somewhere is wrong parameters like SetPlayerHealth(playerid,100,2,4);

,2,4); woulde be tag mismatch, because SetPlayerHealth dont have such parameters



You could show which are these lines, also use [pawn] .. [pawn]
Reply
#3

you forgot to put { or } in real place,just press enter and one of theese 2 simbols {}
Anyway,that is just warning,your gamemode will work
Reply
#4

Because of those warnings I cannot do /enter
on this

Код:
else if (IsPlayerInRangeOfPoint(3.0, playerid,1258.8214,-785.4948,92.0302))
			    {
			        SetPlayerInterior(playerid,3);
			        SetPlayerVirtualWorld(playerid,999);
			    	SetPlayerPos(playerid,1261.7582,-784.7388,1091.9063); //Edit
			    	CreateDynamic3DTextLabel("Gambino HQ",TEXTCOLOR_YELLOW, 1258.8214,-785.4948,92.0302 +1.0, 50.0); // Gambino HQ Side
			    	PlayerInfo[playerid][pInt] = 5;
		    	}
		    	else if (IsPlayerInRangeOfPoint(3.0, playerid,1298.4485,-798.9156,84.1406))
		    	{
		     	    SetPlayerInterior(playerid,3);
		    	    SetPlayerVirtualWorld(playerid,999);
		    		SetPlayerPos(playerid,1298.8547,-796.1196,1084.0078); //Done
		    		CreateDynamic3DTextLabel("Gambino HQ",TEXTCOLOR_YELLOW, 1298.4485,-798.9156,84.1406 +1.0, 50.0); // Gambino HQ Front
		    		PlayerInfo[playerid][pInt] = 5;
		    	}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)