/admins command help
#9

Instead of these lines:
pawn Code:
if(i == (MAX_PLAYERS - 1))
        {
            if(strlen(fstr)) SendClientMessage(playerid, 0x9BBDDEAA, fstr);
        }
You could've just put it right outside the for loop and check the length (strlen) of the fstr string and if it is higher than 0, just print it. It saves you the weird if-statement.
Reply


Messages In This Thread
/admins command help - by ZBits - 23.12.2013, 08:27
Re: /admins command help - by park4bmx - 23.12.2013, 09:11
Re: /admins command help - by Threshold - 23.12.2013, 15:06
Re: /admins command help - by ZBits - 23.12.2013, 20:21
Re: /admins command help - by ZBits - 23.12.2013, 20:26
Re: /admins command help - by mamorunl - 23.12.2013, 23:56
Re: /admins command help - by ZBits - 24.12.2013, 00:38
Re: /admins command help - by Threshold - 24.12.2013, 02:32
Re: /admins command help - by mamorunl - 24.12.2013, 14:12
Re: /admins command help - by ZBits - 24.12.2013, 20:22

Forum Jump:


Users browsing this thread: 2 Guest(s)