20.11.2012, 14:13
Erro string
Код 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]); } } }