5 Warnings. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 5 Warnings. (
/showthread.php?tid=432233)
5 Warnings. -
dorperez - 21.04.2013
Hey guys,
I got 5 warnings it will be really nice if you can help me with this:
pawn Код:
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(1095) : warning 213: tag mismatch
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(1096) : warning 213: tag mismatch
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(1097) : warning 213: tag mismatch
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(1098) : warning 213: tag mismatch
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(1099) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Warnings.
Lines:
pawn Код:
INI_WriteInt(File,"Health", PlayerInfo[playerid][pHealth]);
INI_WriteInt(File,"Armour", PlayerInfo[playerid][pArmour]);
INI_WriteInt(File,"X", PlayerInfo[playerid][pPosx]);
INI_WriteInt(File,"Y", PlayerInfo[playerid][pPosy]);
INI_WriteInt(File,"Z", PlayerInfo[playerid][pPosz]);
Re: 5 Warnings. -
Admigo - 21.04.2013
u sure u have defined the stats with:
Код:
new
Float:pHealth,
Float:pArmour,
Float:pPosx,
Float:pPosy,
Float:pPosz
;
Re: 5 Warnings. -
RajatPawar - 21.04.2013
INI_WriteFloat!
PosX and y and Z's are floats, I guess.
Re: 5 Warnings. -
dorperez - 21.04.2013
Quote:
Originally Posted by Rajat_Pawar
INI_WriteFloat!
PosX and y and Z's are floats, I guess.
|
Tnx bro