Fremove not work
#6

try this

PHP код:
CMD:delplayeroff(playerid,params[])
{
    new 
name[24];
    if(!
sscanf(params"s[24]"name))
    {
        new 
string2[128];
        
format(string2sizeof(string2), "User/%s.ini",name);
        if(!
dini_Exists(string2)) return SendClientMessage(playerid, -1"Invalid player name.");
        
dini_Remove(string);
        
SendClientMessage(playerid, -1"success");
    } else return 
SendClientMessage(playerid, -1"USAGE: /delplayeroff [playername]");
    return 
1;

Reply


Messages In This Thread
Fremove not work - by cuchipkg - 31.12.2015, 16:09
Re: Fremove not work - by Kucin666 - 31.12.2015, 16:43
Re: Fremove not work - by cuchipkg - 31.12.2015, 16:47
Re: Fremove not work - by Kucin666 - 31.12.2015, 17:16
Re: Fremove not work - by cuchipkg - 31.12.2015, 17:41
Re: Fremove not work - by IceBilizard - 01.01.2016, 12:31

Forum Jump:


Users browsing this thread: 3 Guest(s)