warning->Tag mistach. (stock)
#1

Hey,

got a problem with my stock.
Код:
stock CreateQuestBox(playerid)
{
    Questbox[playerid] = CreatePlayerTextDraw(playerid,185.000000, 10.000000, "~n~~n~~n~");
	PlayerTextDrawBackgroundColor(playerid,Questbox[playerid], 255);
	PlayerTextDrawFont(playerid,Questbox[playerid], 1);
	PlayerTextDrawLetterSize(playerid,Questbox[playerid], 0.500000, 1.2);
	PlayerTextDrawColor(playerid,Questbox[playerid], -1);
	PlayerTextDrawSetOutline(playerid,Questbox[playerid], 0);
	PlayerTextDrawSetProportional(playerid,Questbox[playerid], 1);
	PlayerTextDrawSetShadow(playerid,Questbox[playerid], 1);
	PlayerTextDrawUseBox(playerid,Questbox[playerid], 1);
	PlayerTextDrawBoxColor(playerid,Questbox[playerid], 100);
	PlayerTextDrawTextSize(playerid,Questbox[playerid], 483.000000, 0.000000);
	return 1;
}
Код:
C:\Program Files\Steam\SteamApps\common\GTA - 0.3z\gamemodes\***.pwn(378) : warning 213: tag mismatch
C:\Program Files\Steam\SteamApps\common\GTA - 0.3z\gamemodes\***.pwn(379) : warning 213: tag mismatch
C:\Program Files\Steam\SteamApps\common\GTA - 0.3z\gamemodes\***.pwn(380) : warning 213: tag mismatch
C:\Program Files\Steam\SteamApps\common\GTA - 0.3z\gamemodes\***.pwn(381) : warning 213: tag mismatch
C:\Program Files\Steam\SteamApps\common\GTA - 0.3z\gamemodes\***.pwn(382) : warning 213: tag mismatch
C:\Program Files\Steam\SteamApps\common\GTA - 0.3z\gamemodes\***.pwn(383) : warning 213: tag mismatch
C:\Program Files\Steam\SteamApps\common\GTA - 0.3z\gamemodes\***.pwn(384) : warning 213: tag mismatch
C:\Program Files\Steam\SteamApps\common\GTA - 0.3z\gamemodes\***.pwn(385) : warning 213: tag mismatch
C:\Program Files\Steam\SteamApps\common\GTA - 0.3z\gamemodes\***.pwn(386) : warning 213: tag mismatch
C:\Program Files\Steam\SteamApps\common\GTA - 0.3z\gamemodes\***.pwn(387) : warning 213: tag mismatch
C:\Program Files\Steam\SteamApps\common\GTA - 0.3z\gamemodes\***.pwn(388) : warning 213: tag mismatch
C:\Program Files\Steam\SteamApps\common\GTA - 0.3z\gamemodes\***.pwn(393) : warning 213: tag mismatch
This warning says, that i have used a var wrong.
for example: i tried to save a float into an integer.

Someone know a solution?
Reply
#2

Try using (playerid) in all of the sentences and not [playerid]
Reply
#3

No, Cause of
Код:
new PlayerTexT:Questbox[MAX_PLAYERS];
this isn't possible
Reply
#4

Change to:
pawn Код:
new PlayerText: Questbox[MAX_PLAYERS];
Reply
#5

Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)