SA-MP Forums Archive
how to fix - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: how to fix (/showthread.php?tid=490629)



how to fix - ancezas - 27.01.2014

hi i whant that this code would be nicer, no like this:


pawn Код:
if ( !OnlineEx )
                {
                    format(str, sizeof(str), "{FFFFFF}%s%s\t\t\t - {FF0000}OFFLINE\n{FFFFFF}", str, name );
                    Index++;
                }
                else
                {
                    format(str, sizeof(str), "{FFFFFF}%s%s\t\t\t - {00FF00}ONLINE\n{FFFFFF}", str, name );
                    Index++;
                }