Cellphone bug
#7

Please Help me its important:

pawn Код:
// Normal Calling
    if(BeingCalled[playerid] == 2 || Calling[playerid] == 2 || Call911[playerid])
    {
        if(strlen(PlayerInfo[playerid][pAccent])) format(string, sizeof(string), "[Cellphone] %s: [%s Accent] %s", RPN(playerid), PlayerInfo[playerid][pAccent], text);
        else format(string, sizeof(string), "[Cellphone] %s: %s", RPN(playerid), text);
        if(!Call911[playerid])
        {
            if(BeingCalled[playerid] == 2) SendClientMessage(Caller[playerid], COLOR_YELLOW, string);
            else if(Calling[playerid] == 2) SendClientMessage(Called[playerid], COLOR_YELLOW, string);
        }
    }
    else if(Live[playerid])
    {
        if(IsNewsVehicle(GetPlayerVehicleID(playerid)))
        {
            format(string, sizeof(string), "** [Live News]: %s: %s", RPN(playerid), text);
            SendClientMessageToAll(COLOR_LIGHTGREEN, string);
            format(ircMsg, sizeof(ircMsg), "3[Live News] %s(%d): %s", RPN(playerid), playerid, text);
            IRC_GroupSay(groupID, IRC_CHANNEL, ircMsg);
        }
    }
    else
    {
        if(strlen(PlayerInfo[playerid][pAccent])) format(string, sizeof(string), "%s says: [%s Accent] %s", RPN(playerid), PlayerInfo[playerid][pAccent], text);
        else format(string, sizeof(string), "%s says: %s", RPN(playerid), text);
    }
    SendNearbyMessage(playerid, 10, string, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
    Log("logs/chat.log", string);
Reply


Messages In This Thread
Cellphone bug - by Fiore - 01.01.2013, 21:10
Re: Cellphone bug - by IPrototypeI - 01.01.2013, 21:15
Re: Cellphone bug - by Fiore - 01.01.2013, 21:37
Re: Cellphone bug - by Infinity90 - 01.01.2013, 21:41
Re: Cellphone bug - by Fiore - 01.01.2013, 22:13
Re: Cellphone bug - by Fiore - 02.01.2013, 06:17
Re: Cellphone bug - by Fiore - 10.01.2013, 08:34

Forum Jump:


Users browsing this thread: 1 Guest(s)