Ok here is the problem : I compile , it crashes. I used several methods like /* to comment and see where the problem is. I found that it came from here
PHP код:
YCMD:unban(PARAMS)
{
#pragma unused help
if(P_DATA[playerid][P_ADMINLEVEL] < 5)
return SendClientMessage(playerid, -1, "You're not allowed to use this command.");
new name[MAX_PLAYER_NAME], str[128], path[60];
if(sscanf(params, "s[24]", name))
return SendClientMessage(playerid, -1, "Usage: /unban [Exact PlayerName]");
format(path,sizeof path,PATH, name);
if(!fexist(path))
return SendClientMessage(playerid, -1, "That account name does not exist.");
new INI:File = INI_Open(path);
INI_SetTag(File,"data");
INI_WriteBool(File,"Banned",false);
INI_Close(File);
format(str, sizeof str, "You unbanned %s", name);
SendClientMessage(playerid, COLOR_ADMIN, str);
return 1;
}
I don't know what is wrong in my script.