Vip Chat![Help] [+ Rep]
#2

Quote:
Originally Posted by Nirzor
Посмотреть сообщение
i use
Код:
 if(PlayerInfo[playerid][dRank] >= blabla)
how to make a vip chat with it i need codes so i can

learn and second time i can do it by my own if you can +rep give me codes with if(PlayerInfo[playerid][dRank] >= balba)

system
pawn Код:
COMMAND:vchat(playerid,params[])
{
    if(PlayerInfo[playerid][dRank] >= 1) // Level 1 VIP
    {
        new text[128];
        if(sscanf(params, "s[128]", text))
        {
            SendClientMessage(playerid,  -1,"Usage: /vsay [Message]");
            return 1;
        }
        new string[128];
        format(string, sizeof(string), "[VIP]%s: %s", GetName(playerid), text);
        SendClientMessageToAll(0xDCDCDCFF,string);
    }
    else
    {
          SendClientMessage(playerid, -1,"You are not a VIP member");
    }
    return 1;
}
Reply


Messages In This Thread
Vip Chat![Help] [+ Rep] - by Nirzor - 27.09.2012, 14:02
Re: Vip Chat![Help] [+ Rep] - by kbalor - 27.09.2012, 14:10
Re: Vip Chat![Help] [+ Rep] - by SmithyComp - 27.09.2012, 14:10
Re: Vip Chat![Help] [+ Rep] - by Nirzor - 27.09.2012, 14:24
Re: Vip Chat![Help] [+ Rep] - by .v - 27.09.2012, 14:26
Re: Vip Chat![Help] [+ Rep] - by Jarnu - 27.09.2012, 14:28
Re: Vip Chat![Help] [+ Rep] - by .v - 27.09.2012, 14:32
Re: Vip Chat![Help] [+ Rep] - by Nirzor - 27.09.2012, 14:44

Forum Jump:


Users browsing this thread: 1 Guest(s)