Quote:
Originally Posted by sGarfield
try this:
pawn Код:
public ShowTextDraw(playerid, vehicleid, count) { if(!IsPlayerNPC(playerid)) { 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); } } return 1; }
|
Didnt help, but i have tested some stuffs and i now know what causing the problem, the textdraw menu use numpad 8 and 2 to change bomb types, same as you use on the andromada backflip, and 3 NPCs using a andromada and the backflip. So i guess i need to change the buttons and see if that fix the problem.