Reemplazar Nombre si tiene variable = 1
#2

PHP код:
stock NombreJ(playerid)
{
    new
        
nombrePJ[MAX_PLAYER_NAME];
        
    if(
Desconocido[playerid] == 1)
        return 
format(nombrePJsizeof nombrePJ"Desconocido");
    for(new 
0len strlen(nombrePJ); len++)
    {
         if (
nombrePJ[i] == '_')
        {
            
nombrePJ[i] = ' ';
        }
    }
    return 
nombrePJ;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)