Help please
#5

How can i make use of them D:
Well the code
pawn Код:
CMD:l(playerid, params[])
{
    if(gPlayerLogged{playerid} == 0)
    {
        SendClientMessageEx(playerid, COLOR_GREY, "You're not logged in.");
        return 1;
    }

    if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: (/l)ow [close chat]");

    new string[128];
    format(string, sizeof(string), "%s says quietly: %s", GetPlayerNameEx(playerid), params);
    ProxDetector(5.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
    format(string, sizeof(string), "(quietly) %s", params);
    SetPlayerChatBubble(playerid,string,COLOR_WHITE,5.0,5000);
    if(PlayerInfo[playerid][pBugged] == 1)
    {
        format(string, sizeof(string), "(bug) %s says quietly: %s", GetPlayerNameEx(playerid), params);
        SendBugMessage(2, COLOR_LIGHTGREEN, string);
    }
    return 1;
}

CMD:b(playerid, params[])
{
    if(gPlayerLogged{playerid} == 0)
    {
        SendClientMessageEx(playerid, COLOR_GREY, "You're not logged in.");
        return 1;
    }
    if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /b [local ooc chat]");
    new string[128];
    format(string, sizeof(string), "%s: (( %s ))", GetPlayerNameEx(playerid), params);
    ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
    return 1;
}
Help please
Reply


Messages In This Thread
Help please - by RoleplayEditor - 30.01.2012, 13:08
Re: Help please - by Superthijs - 30.01.2012, 13:08
Re: Help please - by CyNiC - 30.01.2012, 13:09
Re: Help please - by Konstantinos - 30.01.2012, 13:11
Re: Help please - by RoleplayEditor - 30.01.2012, 13:13
Re: Help please - by Konstantinos - 30.01.2012, 13:15
Re: Help please - by CyNiC - 30.01.2012, 13:18
Re: Help please - by RoleplayEditor - 31.01.2012, 11:11
Re: Help please - by Konstantinos - 31.01.2012, 13:59
Re: Help please - by Steven82 - 31.01.2012, 14:21

Forum Jump:


Users browsing this thread: 2 Guest(s)