Won't show the ID for ADuty
#3

Quote:
Originally Posted by VladimirMark
Посмотреть сообщение
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++) {
            if (PlayerInfo[i][pADuty] != 0)
                format(string, sizeof(string), "[ATM %d]\n{FFFFFF}/atm to use this machine.", atmid);
            else
                format(string, sizeof(string), "[ATM]\n{FFFFFF}/atm to use this machine.", atmid);
        }
OR use this if it doesn't work

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++) {
            if (PlayerInfo[i][pADuty] != 0)
                format(string, sizeof(string), "[ATM %d]\n{FFFFFF}/atm to use this machine.", atmid);
        }
VladimirMark, I appreciate that you're trying but you gave me the exact same code.... And just added ", atmid" to a string that doesn't have a variable.

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++) {
            if (PlayerInfo[i][pADuty] != 0)
                format(string, sizeof(string), "[ATM %d]\n{FFFFFF}/atm to use this machine.", atmid);
            else
                format(string, sizeof(string), "[ATM]\n{FFFFFF}/atm to use this machine.", atmid); // Why would this work?
        }
Reply


Messages In This Thread
Won't show the ID for ADuty - by Swyft™ - 17.06.2014, 11:44
Re: Won't show the ID for ADuty - by VladimirMark - 17.06.2014, 12:13
Re: Won't show the ID for ADuty - by Swyft™ - 17.06.2014, 12:23
Re: Won't show the ID for ADuty - by Rittik - 17.06.2014, 12:31
Re: Won't show the ID for ADuty - by Swyft™ - 17.06.2014, 12:58
Re: Won't show the ID for ADuty - by Laure - 17.06.2014, 13:30
Re: Won't show the ID for ADuty - by Swyft™ - 17.06.2014, 13:33
Re: Won't show the ID for ADuty - by Laure - 17.06.2014, 13:36
Re: Won't show the ID for ADuty - by Swyft™ - 17.06.2014, 13:37
Re: Won't show the ID for ADuty - by Rittik - 17.06.2014, 13:39

Forum Jump:


Users browsing this thread: 1 Guest(s)