How to convert This To TExtdraw ?
#1

This is my jail timer i want it to be a text draw instead of Gametext How to do it ?
Код:
public JailTimer()
{
        for(new i=0; i<MAX_PLAYERS; i++)
        
        {
            if(IsPlayerConnected(Tid))
            {
                if(JAIL[i] > 1)
                {
                    JAIL[i] --; // Decreasing time
                    new time[20]; //adding time variable
                    format(time,sizeof(time),"JAIL Time: %d",JAIL[i]);
                    GameTextForPlayer(Tid,time,500,3);
				}
                if(JAIL[i] == 1) 
                {
                    JAIL[i] =0;
                    SendClientMessage(Tid,COLOR_RED,"You have Completed Your Jail Time!");
                    SetPlayerPos(Tid,252.7439,87.5552,1002.4453);
                    SetPlayerVirtualWorld(Tid, 199);
                    SetPlayerInterior(Tid, 6);

                }
                }
                }
                return 1;
                }
Reply


Messages In This Thread
How to convert This To TExtdraw ? - by rockhopper - 04.06.2014, 12:33
Re: How to convert This To TExtdraw ? - by rockhopper - 04.06.2014, 12:53
Re : How to convert This To TExtdraw ? - by S4t3K - 04.06.2014, 13:02
Re: How to convert This To TExtdraw ? - by rockhopper - 04.06.2014, 13:06
Re : How to convert This To TExtdraw ? - by S4t3K - 04.06.2014, 13:23
Re: How to convert This To TExtdraw ? - by rockhopper - 04.06.2014, 13:25
Re: How to convert This To TExtdraw ? - by rockhopper - 04.06.2014, 13:40

Forum Jump:


Users browsing this thread: 1 Guest(s)