20.05.2012, 06:54
That is not 2x score in textdraw the one you talking about is from my Player Info Textdraw.
Current code in OnPlayerUpdate:
Current code in OnPlayerUpdate:
pawn Код:
public OnPlayerUpdate(playerid)
{
new str[300], Float:health;
GetPlayerHealth(spectatorid[playerid], health);
format(str, sizeof(str), "~y~Ping: ~w~%d ~r~Score: ~y~%d", GetPlayerPing(playerid), GetPlayerScore(playerid));
TextDrawSetString(InfoP[playerid], str);
format(str, sizeof(str), "~y~Now Spectating:~n~~w~%s~n~~r~Health: ~w~%.0f", GetpName(spectatorid[playerid]), health);
TextDrawSetString(SpecP[playerid], str);
return 1;
}