[Ajuda] OnPlayerText personalizada
#2

tenta assim possivelmente darб certo
PHP код:
    if (PlayerInfo[playerid][pLevel] >= 1)//Aki esta errado possivelmente voce deve usar esse tipo de variavel
    
{
        new 
string[128], pname[MAX_PLAYER_NAME];
        
GetPlayerName(playeridpnamesizeof(pname));
        
format(stringsizeof(string), "[ ID %d ] [ ADM ] %s: %s"playeridpnametext);//aki vocк inverteu os parametros de playerid e pname
        
SendClientMessageToAll(GetPlayerColor(playerid), string);
    }
    if (
PlayerInfo[playerid][pLevel] <= 0)//Aki tambem esta errado possivelmente voce deve usar esse tipo de variavel
    
{
        new 
string[128], pname[MAX_PLAYER_NAME];
        
GetPlayerName(playeridpnamesizeof(pname));
        
format(stringsizeof(string), "[ ID %d ] %s: %s"playeridpnametext);//aki vocк inverteu os parametros de playerid e pname
        
SendClientMessageToAll(GetPlayerColor(playerid), string);
    } 
Reply


Messages In This Thread
OnPlayerText personalizada - by eNtinityGaming - 13.02.2014, 12:05
Re: OnPlayerText personalizada - by lucas_mdr1235 - 13.02.2014, 12:14
Respuesta: OnPlayerText personalizada - by eNtinityGaming - 13.02.2014, 12:29
Respuesta: OnPlayerText personalizada - by eNtinityGaming - 13.02.2014, 12:33

Forum Jump:


Users browsing this thread: 1 Guest(s)