Код HTML:
public AtualizarTextDraws()
{
new String[100];
for(new playerid = 0; playerid < MAX_PLAYERS; playerid ++)
{
if(IsPlayerConnected(playerid))
{
TextDrawHideForPlayer(playerid, Textdraw1[playerid]);
Textdraw1[playerid] = TextDrawCreate(499.000000, 5.000000, "Cash: 0");
TextDrawBackgroundColor(Textdraw1[playerid], 255);
TextDrawFont(Textdraw1[playerid], 3);
TextDrawLetterSize(Textdraw1[playerid], 0.500000, 1.700000);
TextDrawColor(Textdraw1[playerid], -1);
TextDrawSetOutline(Textdraw1[playerid], 1);
TextDrawSetProportional(Textdraw1[playerid], 0);
format(String, sizeof(String), "Cash: %d", CashInfo(playerid));
TextDrawSetString(Textdraw1[playerid], String);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
}
}
}
Na verdade й warning eu testei aki no sv mesmo com os warning mais fico bugado no meu gm Eu uso qualquer comando fala que eu tenho que ter adm e tbm uso zcmd
ai ferra, porque й no gamemode em "geral", pode estбr em qualquй lugar :S