Afk label
#1

how to make afk time.
Default is the time in scm - SendClientMessage and how to make it in 3dtextlabel


Default:

Code:
if(IsPlayerConnected(i))
			{
			    if(AFK[i] == 1)
			    {
			        GetPlayerName(i, sendername, sizeof(sendername));
					new Float:time = AFKTime[i];
					format(string, 256, "{FF6347}%s (%d) {FFFFFF}| Afk vrijeme:{FF6347}%.1fmin", sendername, i,time);
					SCM(playerid, COLOR_WHITE, string);
				}
			}
Label:

Code:
AFK[i] = 1;
						AfkLabel[i] = Create3DTextLabel("[AFK - Nisam u igrici!]",0xFF000099,0,0,0,50,-1,1);
						Attach3DTextLabelToPlayer(AfkLabel[i], i, 0,0,0);
I try to make that system like this but don't work

Code:
AfkLabel[i] = Create3DTextLabel("[AFK - Nisam u igrici %.1fmin!]",0xFF000099,0,0,0,50,-1,1,time);
Reply


Messages In This Thread
Afk label - by osman2571 - 17.10.2014, 13:15
Re: Afk label - by austin070 - 17.10.2014, 19:23
Re: Afk label - by osman2571 - 17.10.2014, 23:16
Re: Afk label - by osman2571 - 18.10.2014, 11:47
Re: Afk label - by Simeon87 - 18.10.2014, 15:44
Re: Afk label - by 0x41726d79 - 18.10.2014, 16:35
Re: Afk label - by osman2571 - 18.10.2014, 21:02
Re: Afk label - by osman2571 - 18.10.2014, 21:15
Re: Afk label - by Kaperstone - 19.10.2014, 00:01
Re: Afk label - by ThePhenix - 19.10.2014, 00:03

Forum Jump:


Users browsing this thread: 3 Guest(s)