AFK Help /Admins
#4

Код:
GetPlayerName(i, pName, sizeof(pName));
format(string, 256, "( Admin %d ) %s [Id:%d] %s {008080}[%s]",PlayerInfo[i][pAdmin],pName,i,AFK); // ---> AFK
// ---> and
format(string, 256, "( Admin %d ) %s [Id:%d] %s",PlayerInfo[i][pAdmin],pName,i); // ---> Back
SendClientMessage(playerid, COLOR_GREY, string);
That simply makes the string twice, without even checking anything.

It'll use the second one always.



that, or you've cropped out some code.
Reply


Messages In This Thread
AFK Help /Admins - by Tween73 - 16.01.2016, 01:42
Re: AFK Help /Admins - by Amunra - 16.01.2016, 01:52
Re: AFK Help /Admins - by Tween73 - 16.01.2016, 01:54
Re: AFK Help /Admins - by Sew_Sumi - 16.01.2016, 03:14
Re: AFK Help /Admins - by Eth - 16.01.2016, 03:16
Re: AFK Help /Admins - by Sew_Sumi - 16.01.2016, 03:34
Re: AFK Help /Admins - by Tween73 - 16.01.2016, 17:30
Re: AFK Help /Admins - by Tween73 - 16.01.2016, 17:32
Re: AFK Help /Admins - by Sew_Sumi - 16.01.2016, 21:12
Respuesta: AFK Help /Admins - by IzadorO - 16.01.2016, 21:13

Forum Jump:


Users browsing this thread: 1 Guest(s)