12.09.2011, 14:26
PHP код:
CMD:resetarconta(playerid, params[])
{
if((IsPlayerAdmin(playerid)))
{
new string[40],
conta[MAX_PLAYER_NAME];
if(sscanf(params, "s[24]", conta)) return SendClientMessage(playerid, -1, "Correto: /resetarconta [Conta]");
format(string, sizeof(string),"Arquivos/%s.ini",conta);
dini_Remove(string);
}
else return SendClientMessage(playerid, -1, "Noob HAHA");
return true;
}