09.01.2012, 10:14
What? if you mean the code to show the textdraw, this is the code
pawn Код:
public ShowTextDraw(playerid, vehicleid, count)
{
if(IsPlayerInVehicle(playerid, vehicleid)) {
bombtext[playerid] = TextDrawCreate(500, 300, " ");
TextDrawUseBox(bombtext[playerid], 1);
TextDrawBoxColor(bombtext[playerid], 0x00000066);
TextDrawFont(bombtext[playerid], 1);
UpdateTextDraw(playerid);
removetimer[playerid] = SetTimerEx("RemoveTextDraw", 2000, 1, "i", playerid);
TextDrawShowForPlayer(playerid, bombtext[playerid]);
} else {
count ++;
if(count < 20) SetTimerEx("ShowTextDraw", 500, 0, "iii", playerid, vehicleid, count);
}
}