Hallo Breadfische,
Ich habe folgendes Problem:
[/URL]
Die Digitale HP - Anzeige wird falsch wieder gegeben.
Script / Codes:
//new´s
new PlayerText:hpanzeige[MAX_PLAYERS];
//forward
forward HpTimer();
//OnGameModeInit
{
SetTimer("HpTimer",1000,true);
}
//OnPlayerConnect
{
hpanzeige[playerid] = CreatePlayerTextDraw(playerid,566.000000, 65.000000, "100");
PlayerTextDrawBackgroundColor(playerid,hpanzeige[playerid], 255);
PlayerTextDrawFont(playerid,hpanzeige[playerid], 1);
PlayerTextDrawLetterSize(playerid,hpanzeige[playerid], 0.280000, 1.000000);
PlayerTextDrawColor(playerid,hpanzeige[playerid], -1);
PlayerTextDrawSetOutline(playerid,hpanzeige[playerid], 0);
PlayerTextDrawSetProportional(playerid,hpanzeige[playerid], 1);
PlayerTextDrawSetShadow(playerid,hpanzeige[playerid], 1);
}
//OnPlayerSpawn
{
PlayerTextDrawShow(playerid, hpanzeige[playerid]);
}
Ich hoffe es kann mir jemand helfen MFG German_ScripterHD