16.05.2014, 17:57
pawn Код:
if(issuerid == INVALID_PLAYER_ID)
{
TextDrawBackgroundColor(Textdraw11[playerid], 255);
TextDrawFont(Textdraw11[playerid], 1);
TextDrawLetterSize(Textdraw11[playerid], 0.350000, 1.300000);
TextDrawColor(Textdraw11[playerid], -16776961);
TextDrawSetOutline(Textdraw11[playerid], 1);
TextDrawSetProportional(Textdraw11[playerid], 1);
format(cstring, sizeof(cstring), "Collision -(%.0f)",amount);
TextDrawSetString(Textdraw11[playerid], cstring);
TextDrawShowForPlayer(playerid, Textdraw11[playerid]);
}
!!!try like this :
pawn Код:
if(issuerid != INVALID_PLAYER_ID)
{
TextDrawBackgroundColor(Textdraw11[playerid], 255);
TextDrawFont(Textdraw11[playerid], 1);
TextDrawLetterSize(Textdraw11[playerid], 0.350000, 1.300000);
TextDrawColor(Textdraw11[playerid], -16776961);
TextDrawSetOutline(Textdraw11[playerid], 1);
TextDrawSetProportional(Textdraw11[playerid], 1);
format(cstring, sizeof(cstring), "Collision -(%.0f)",amount);
TextDrawSetString(Textdraw11[playerid], cstring);
TextDrawShowForPlayer(playerid, Textdraw11[playerid]);
}

