2 problemas con valores.
#6

PHP код:
CMD:certificar(playeridparams[]){
    if(
PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playeridCOLOR_GRAD2"ЎNo autorizado!");
    if(!
sscanf(params"s[32]"params[0])){
        if(
strfind(params[0], "_" true) != -1){
            new 
string3[64], string[128];
            
format(string3,sizeof(string3),"Usuarios/%s.lvrp",params[0]);
            if(
dini_Exists(string3)){
                new 
INI:ini INI_Open(string3);
                
INI_SetTag(ini,"Datos");//// aqui va el nombre que le asignastes al tag del sistema de registro.
                
INI_WriteInt(ini"Certificado"1);
                
INI_Close(ini);
                
format(stringsizeof(string), "AdmLVRP: %s certificу la cuenta a nombre: %s",RPN(playerid), params[0]);
                
SendAdminMessage(COLOR_YELLOW1string);
            } else 
SendClientMessage(playeridCOLOR_GRAD2"No se encontrу una cuenta con ese nombre");
        } else 
SendClientMessage(playeridCOLOR_GRAD2"Usб: /certificar <Nombre_Jugador>");
    } else 
SendClientMessage(playeridCOLOR_GRAD2"Usб: /certificar <Nombre_Jugador>");
    return 
1;

Reply


Messages In This Thread
2 problemas con valores. - by jwalker - 20.02.2013, 18:12
Respuesta: Valores de vida/hp. - by JustBored - 20.02.2013, 18:20
Respuesta: Valores de vida/hp. - by jwalker - 20.02.2013, 18:23
Respuesta: 2 problemas con valores. - by jwalker - 21.02.2013, 18:45
Re: 2 problemas con valores. - by Daniel-92 - 22.02.2013, 00:08
Respuesta: 2 problemas con valores. - by Parka - 22.02.2013, 00:39

Forum Jump:


Users browsing this thread: 1 Guest(s)