[Ajuda] OnPlayerConnect
#4

Quote:
Originally Posted by Dolby
Посмотреть сообщение
Vocк utilizou o operador lуgico NOT(!), que representa a negaзгo da condiзгo.

pawn Код:
if ( !IsPlayerVIP(playerid))
Em pseudo-cуdigo, isto ficaria:


Veja mais a respeito dos operadores no link abaixo.
Abraзos.
O Chat foi corrigido, porйm a mensagem ao conectar ainda continua, Obrigado.

Quote:
Originally Posted by Cor3y
Посмотреть сообщение
pawn Код:
if ( !IsPlayerVIP(playerid))
O operador "!" faz com que, a condiзгo, sу serб executada se o player nгo for vip.
pawn Код:
if(IsPlayerVIP(playerid))
    {
        SetPlayerChatBubble(playerid, text, 0xFFFDE8AA, 100.0, 10000);
        format(MessageText, sizeof(MessageText), "(ID:%d){40FF00}[VIP]: {FFFFFF}%s", playerid, text);
        SendPlayerMessageToAll(playerid, MessageText);
        new u[26];
        GetPlayerName(playerid, u, 24);
        format(MsgText, sizeof(MsgText), "(ID:%d) %s : %s", u, playerid, text);
        EscreverLog("ChatGlobal", MsgText);
    }
Й sу isso, abraзos.
Obrigado consegui corrigir o Chat, porem a msg ao conectar nгo da certo, ja alterei e msm assim nгo vai

@Topic

Alguem?
Reply


Messages In This Thread
OnPlayerConnect - by GHLEMES - 13.06.2014, 20:37
Re: OnPlayerConnect - by Dolby - 13.06.2014, 21:00
Re: OnPlayerConnect - by Cor3y - 13.06.2014, 21:01
Re: OnPlayerConnect - by GHLEMES - 13.06.2014, 21:13
Re: OnPlayerConnect - by Dolby - 13.06.2014, 21:19
Re: OnPlayerConnect - by GHLEMES - 14.06.2014, 01:10
Re: OnPlayerConnect - by PT - 14.06.2014, 12:52
Re: OnPlayerConnect - by GHLEMES - 14.06.2014, 18:45
Re: OnPlayerConnect - by GHLEMES - 14.06.2014, 21:44
Re: OnPlayerConnect - by PT - 14.06.2014, 22:32

Forum Jump:


Users browsing this thread: 2 Guest(s)