Countdown textdraw
#1

Hey! Can someone show me an example of how to make a countdown textdraw when someone enters a checkpoint? I've searched through ******, but I can't found it.
Reply
#2

Do you have all includes so i can text the code ?
Reply
#3

or can you give me the script or the code please so i can see the event
Reply
#4

Here's what I got
pawn Code:
public OnPlayerEnterDynamicCP(playerid,checkpointid)
{
    if(team[playerid] == trteam)
    {
        if(checkpointid == cp)
        {
            new str[50];
            cptime1 = SetTimerEx("cptime",15000,false,"i",playerid);
            format(str,sizeof(str),"%d",cptime1);
            TextDrawSetString(timer,str);
            TextDrawShowForPlayer(playerid,timer);
        }
        return 1;
    }
But it keep increasing whenever I enter and leave the checkpoint.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)