WHAT?!
#1

Can someone help me with this warns
PHP код:
new Text:hdisplay[MAX_PLAYERS];
public 
OnPlayerConnect(playerid)
{
        
hdisplay[playerid] = TextDrawCreate(505.625000427.583404"Health:");
    
TextDrawLetterSize(hdisplay[playerid], 0.4693752.020000);
    
TextDrawAlignment(hdisplay[playerid], 1);
    
TextDrawColor(hdisplay[playerid], -5963521);
    
TextDrawSetShadow(hdisplay[playerid], 0);
    
TextDrawSetOutline(hdisplay[playerid], 1);
    
TextDrawBackgroundColor(hdisplay[playerid], 51);
    
TextDrawFont(hdisplay[playerid], 1);
    
TextDrawSetProportional(hdisplay[playerid], 1);
        return 
1;
}
public 
OnPlayerEnterVehicle(playeridvehicleid)
{
        new 
FloathealthszText[10];
    
GetVehicleHealth(vehicleidhealth);
    
format(szTextsizeof (szText), "%.2f"health);
    
PlayerTextDrawSetString(playeridhdisplay[playerid], szText);
    
PlayerTextDrawShow(playeridhdisplay[playerid]);
        return 
1;
}
public 
OnPlayerExitVehicle(playeridvehicleid)
{
     
PlayerTextDrawHide(playeridhdisplay[playerid]);
        return 
1;

And i get these
PHP код:
C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(3008) : warning 213tag mismatch
C
:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(3009) : warning 213tag mismatch
C
:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(3020) : warning 213tag mismatch
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
3 Warnings

These are the lines of warns
PHP код:
        PlayerTextDrawSetString(playeridhdisplay[playerid], szText);
    
PlayerTextDrawShow(playeridhdisplay[playerid]);
        
PlayerTextDrawHide(playeridhdisplay[playerid]); 
Reply


Messages In This Thread
WHAT?! - by Micko123 - 18.05.2016, 17:23
Re: WHAT?! - by RedRex - 18.05.2016, 17:26
Re: WHAT?! - by J0sh... - 18.05.2016, 17:28
Re: WHAT?! - by Micko123 - 18.05.2016, 17:28
Re: WHAT?! - by J0sh... - 18.05.2016, 17:30
Re: WHAT?! - by Sjn - 18.05.2016, 17:37
Re: WHAT?! - by Micko123 - 18.05.2016, 17:45

Forum Jump:


Users browsing this thread: 1 Guest(s)