forward SetEchoInf(); stock EchoWrite(text[]) { new File:file; if((file = fopen(ECHO_FILE, io_append))) { new string[256]; format(string, sizeof(string), "%s\r\n", text); fwrite(file,string); fclose(file); } } stock EchoWipe() { if(fexist(ECHO_FILE)) fremove(ECHO_FILE); new File:file; if((file = fopen(ECHO_FILE))) { fclose(file); } } public SetEchoInf() { EchoWipe(); new string[256]; EchoWrite("Virtual Life Information
Virtual Life Information
"); EchoWrite(""); EchoWrite(""); EchoWrite(""); EchoWrite(""); EchoWrite(""); EchoWrite(""); EchoWrite(""); EchoWrite(""); for(new i = 0; i", Playername(i)); EchoWrite(string); format(string, sizeof(string), "", i); EchoWrite(string); format(string, sizeof(string), "", GetPlayerMoney(i)); EchoWrite(string); format(string, sizeof(string), "", Player[i][wanted]); EchoWrite(string); if(IsPlayerSpawned(i)) EchoWrite(""); else EchoWrite(""); if(Player[i][working]) { EchoWrite(""); format(string, sizeof(string), "", Player[i][wage]); EchoWrite(string); } else { EchoWrite(""); EchoWrite(""); } if(Player[i][warning] > 0) { format(string, sizeof(string), "", Player[i][warning]); EchoWrite(string); } else { EchoWrite(""); } } } EchoWrite("
World Time: "); EchoWrite(ReturnWorldTime()); EchoWrite("
PlayerIDMoneyWantedSpawnedWorkingWageOther
%s%d%d%dYesNoYes%dNo-Warning level: %d-
"); } public OnGameModeInit() { SetTimer("SetEchoInf", 10000, true); return 1; }