[SOLVED] warning 213: tag mismatch. Please need some help
#1

need some help with this, I can't understand how to fix this:
Код:
D:\Juan\Programas\GTA\Creaciones Propias\CAOS2.pwn(1203) : warning 213: tag mismatch
D:\Juan\Programas\GTA\Creaciones Propias\CAOS2.pwn(1204) : warning 213: tag mismatch
D:\Juan\Programas\GTA\Creaciones Propias\CAOS2.pwn(1213) : warning 213: tag mismatch
D:\Juan\Programas\GTA\Creaciones Propias\CAOS2.pwn(1214) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Warnings.
[code=pwn]
1202. new float:Health, float:Armour;
1203. GetPlayerHealth(playerid, Health);
1204. GetPlayerArmour(playerid, Armour);
1205.
1206. if((GetPlayerInterior(playerid) > 0))
1207. {
1208. SetPlayerHealth(playerid, 10000000);
1209. SetPlayerArmour(playerid, 10000000);
1210. }
1211. if((GetPlayerInterior(playerid) == 0))
1212. {
1213. SetPlayerHealth(playerid, Health);
1214. SetPlayerArmour(playerid, Armour);
1215. }
1216.
1217. return 1;
[/code]
Reply
#2

Its because they arrent lined up. you need to write it

like this
Код:
SetPlayerHealth(playerid, Health);
SetPlayerArmour(playerid, Armour);
insted of
Код:
SetPlayerHealth(playerid, Health);
 SetPlayerArmour(playerid, Armour);
Reply
#3

Quote:
Originally Posted by Niixie
Its because they arrent lined up. you need to write it

like this
Код:
SetPlayerHealth(playerid, Health);
SetPlayerArmour(playerid, Armour);
insted of
Код:
SetPlayerHealth(playerid, Health);
 SetPlayerArmour(playerid, Armour);
keep having the same problem :S
Reply
#4

pawn Код:
new float:Health, float:Armour;
Change to capital "F"

pawn Код:
new Float:Health, Float:Armour;
Reply
#5

Quote:
Originally Posted by MadeMan
pawn Код:
new float:Health, float:Armour;
Change to capital "F"

pawn Код:
new Float:Health, Float:Armour;
tanks it work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)