31.05.2017, 18:32
Code:
CMD:unban(playerid,params[]) { new string[124],string1[124]; if(isnull(params)) return SendClientMessage(playerid, red, "/unban [playername]"); format(string,sizeof(string),"ladmin/users/%s.ini",params); if(fexist(string)) { SaveToFile("AdminLog",string); dUserSetINT(PlayerName2(playerid)).("banned",0); } else SendClientMessage(playerid, red, "Account not found"); return 1; }