Thread: unban cmd error
View Single Post
Old 21/03/2014, 01:19 PM   #5
Hanuman
Banned
 
Join Date: Jan 2014
Location: !In your Dreams!
Posts: 241
Reputation: 35
Default Re: unban cmd error

you need to define a condition
Code:
new string[128];
        new pName[24];
        if(isnull(params)) return SendClientMessage(playerid, -1, "{FF0099}[ADMIN]{FFFFFF} /unban [playername]");
        if(//File present)//like this
        {
            format(string, 128, "{FF0099}[ADMIN]{FFFFFF} '%s' has been unbanned by %s.", params,pName);
            SendClientMessageToAll(COLOR_ADMIN,string);
Hanuman is offline   Reply With Quote