C:\Users\Alessandro\Desktop\Starting OFF gamemode\gamemodes\test.pwn(800) : warning 213: tag mismatch
C:\Users\Alessandro\Desktop\Starting OFF gamemode\gamemodes\test.pwn(805) : warning 213: tag mismatch
C:\Users\Alessandro\Desktop\Starting OFF gamemode\gamemodes\test.pwn(806) : warning 213: tag mismatch
C:\Users\Alessandro\Desktop\Starting OFF gamemode\gamemodes\test.pwn(807) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Warnings.
if(oldstate == PLAYER_STATE_DRIVER)
{
vhealth[playerid] = INVALID_PLAYER_BAR_VALUE; //Line 800
DestroyPlayerProgressBar(playerid, vhealth[playerid]);
}
if(newstate == PLAYER_STATE_DRIVER)
{
vhealth[playerid] = CreatePlayerProgressBar(playerid, 532.0,200.0, _, _, 0x00FF00FF, 1000.00);c //805
SetPlayerProgressBarValue(playerid, vhealth[playerid], 1000.00);//806
ShowPlayerProgressBar(playerid, vhealth[playerid]);//807
}
new PlayerBar: vhealth[MAX_PLAYERS];
Change new Float:vhealth[MAX_PLAYERS]; to new Float:vhealth;
|