#1

what thing can cause these warnings?
Код:
D:\gta san andreas online\Godfucker\gamemodes\Mode.pwn(224) : warning 213: tag mismatch
D:\gta san andreas online\Godfucker\gamemodes\Mode.pwn(225) : warning 213: tag mismatch
D:\gta san andreas online\Godfucker\gamemodes\Mode.pwn(226) : warning 213: tag mismatch
D:\gta san andreas online\Godfucker\gamemodes\Mode.pwn(1134) : warning 213: tag mismatch
D:\gta san andreas online\Godfucker\gamemodes\Mode.pwn(1135) : warning 213: tag mismatch
D:\gta san andreas online\Godfucker\gamemodes\Mode.pwn(1136) : warning 213: tag mismatch
D:\gta san andreas online\Godfucker\gamemodes\Mode.pwn(1138) : warning 213: tag mismatch
D:\gta san andreas online\Godfucker\gamemodes\Mode.pwn(1139) : warning 213: tag mismatch
D:\gta san andreas online\Godfucker\gamemodes\Mode.pwn(1140) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


9 Warnings.
Reply
#2

**UP**
Reply
#3

A bad tag.

Example:

If a function wants a 'Float' parameter and you enter a 'String' it will show that warnings:

from a_samp:

pawn Код:
native SendClientMessage(playerid, color, const message[]);
In a script

pawn Код:
SendClientMessage(playerid, "red", 44);
This will cause the warning, because 'color' must be an integer or a hexadecimal value and 'const message[]' must be a string.
Reply
#4

Quote:
Originally Posted by [GF]Sasino97
Посмотреть сообщение
A bad tag.

Example:

If a function wants a 'Float' parameter and you enter a 'String' it will show that warnings:

from a_samp:

pawn Код:
native SendClientMessage(playerid, color, const message[]);
In a script

pawn Код:
SendClientMessage(playerid, "red", 44);
This will cause the warning, because 'color' must be an integer or a hexadecimal value and 'const message[]' must be a string.
ok but those are my lines:
(224-226):
Код:
	    PlayerPlace[playerid][spX] = X;
	    PlayerPlace[playerid][spY] = Y;
	    PlayerPlace[playerid][spZ] = Z;
(1151 - 1157):
Код:
            PlayerPlace[playerid][sX] = dini_Float(file2, "spawnX");
            PlayerPlace[playerid][sY] = dini_Float(file2, "spawnY");
            PlayerPlace[playerid][sZ] = dini_Float(file2, "spawnZ");
            PlayerPlace[playerid][HaveSP] = dini_Int(file2, "HaveSavePoint");
            PlayerPlace[playerid][spX] = dini_Float(file2, "savepointX");
            PlayerPlace[playerid][spY] = dini_Float(file2, "savepointY");
            PlayerPlace[playerid][spZ] = dini_Float(file2, "savepointZ");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)