Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:unban(playerid, params[])
- {
- if(PlayerInfo[playerid][pAdmin] >= 1336)
- {
- new string[128], id[25];
- if(sscanf(params, "s[25]", id)) return SCM(playerid,-1, "/unban [ Ime_Prezime na Igracot ]");
- format(string,sizeof(string),"Smetke/%s.ini",id);
- if(!fexist(string)) return SCM(playerid,-1, "{FF4040}GRESKA:{FFFFFF}Toj igrac ne e pronajden vo bazata.");
- new INI:File = INI_Open(string);
- INI_SetTag(File,"data");
- INI_WriteInt(File, "Ban", 0);
- INI_Close(File);
- SCM(playerid, -1, "Igracot e unbaniran.");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement