31.05.2017, 12:16
Code:
CMD:unban(playerid,params[]) { new string[124],string1[124]; if(isnull(params)) return ShowUsageMessage(playerid,"/unban [playername]"); format(string,sizeof(string),"Users/%s.ini",params); if(fexist(string)) { new INI:file = INI_Open(string); INI_WriteInt(file,"Banned",0); INI_Close(file); } else SendClientMessage(playerid,-1,"Account not found"); return 1; }