/*x---------------------------------Includes-------------------------------------x*/ //--INCLUDE--// #include #include /*x---------------------------------Defines-------------------------------------x*/ //--COLOR--// #define ONLINE 0x6AF7E1FF //// //--VARIABLE--// new Msg; //--FORWARD--// forward OnlineStat(); /*x---------------------------------CallBacks-------------------------------------x*/ public OnFilterScriptInit() { Msg = 0; SetTimer("OnlineStat",120000,true); // Message about online appears every 2 minutes print("<|------------------|>"); //-- print(".:[ - Online FS - ]:."); //--- print(".:[ - by Spider - ]:."); //---- Please dont edit :) print(".:[ - 2008 - ]:."); //--- print("<|------------------|>"); //-- return 1; } public OnlineStat() { new string[256]; new string1[256]; new playerid; format(string, sizeof(string), " : %d", IsPlayerConnected(playerid) ); // this print in game chat format(string1, sizeof(string1), "Currently Online: %d", IsPlayerConnected(playerid) ); // this print in server cmd window printf(string1); switch (Msg) { case 0: {SendClientMessageToAll(ONLINE,string);} // first message } return 1; }