[Ayuda] Comando
#1

Me ayudan con este comando, El funciona asi es el /p de Rol.

Ej: * Frank_Schneider [Se puede notar mucha gente]

Quiero hacer que el comando me ponga el Rol asi

Ej: * Se puede notar mucha gente ((Frank_Schneider))

(Igual a Fz, esque no entiendo bien)
Aqui el comando
PHP код:
zcmd(pplayeridparams[]){
        if(!
isnull(params)){
            new 
string[128];
            if(
Info[playerid][pMaskuse] == 1format(stringsizeof(string), "* %s (( Desconocido ))."params);
            else 
format(stringsizeof(string), "* %s [ %s ]."GetPlayerNameEx(playerid), params);
            return 
ProxDetector(30.0playeridstringCOLOR_VERDE,COLOR_VERDE,COLOR_VERDE,COLOR_VERDE,COLOR_VERDE);
        }
        else 
SendClientMessageEx(playeridCOLOR_GRAD2"* /p <Acciуn>");
        return 
1
Desde ya gracias
Reply
#2

pawn Код:
zcmd(p, playerid, params[]){
        if(!isnull(params)){
            new string[128];
            if(Info[playerid][pMaskuse] == 1) format(string, sizeof(string), "* %s (( Desconocido )).", params);
            else format(string, sizeof(string), "* %s ((%s))", params, GetPlayerNameEx(playerid));
            return ProxDetector(30.0, playerid, string, COLOR_VERDE,COLOR_VERDE,COLOR_VERDE,COLOR_VERDE,COLOR_VERDE);
        }
        else SendClientMessageEx(playerid, COLOR_GRAD2, "* /p <Acciуn>");
        return 1;  
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)