28.12.2009, 17:43
need some help with this, I can't understand how to fix this:
[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]
Код:
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.
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]