Counter Tdraw
#1

Hello I need this

Код:
public OnPlayerEnterCheckpoint(playerid)
{
	new string[256]; new playername [MAX_PLAYER_NAME];
	GetPlayerName (playerid, playername, sizeof(string));
  	if(gTeam[playerid] == TEAM_BOMBER) {
		format (string, sizeof(string), "YYY: %s (%d) YYY", playername, playerid);
		SendClientMessageToAll (COLOR_WHITE, string);
		SetTimerEx("Disable", 10000, false, "i", playerid);
	} else if(gTeam[playerid] == TEAM_DEFEND) {
 		SendClientMessage (playerid, COLOR_RED, "YYYY");
	}


    return 1;
}
Now I want that rigth side show textdraw and it Say's
10 sec more to plant the bomb
and it count to 0
then new textdraw at same place
40 sec until explosion
Reply
#2

lol meybe to use timers ?/
Reply
#3

Make a textdraw with textdraw editor and then use timers and use also TextDrawShowForPlayer and DestroyTextdrawForPlayer
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)