Need a normal Local OOC chat command(/b)
#2

pawn Code:
CMD:b(playerid, params[])
{
    if (isnull(params)) return SendClientMessage(playerid, -1, "{C0C0C0}USAGE: /b < message >");
   
    new Float:X, Float:Y, Float:Z, String[128], Name[25];
   
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerName(playerid, Name, 25);
   
    format(String, 128, "(( [%d] %s: %s ))", playerid, Name, params);
   
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if (IsPlayerInRangeOfPoint(i, X, Y, Z))
        {
            SendClientMessage(playerid, 0xC0C0C0FF, String);
        }
    }
   
    return true;
}
Reply


Messages In This Thread
Need a normal Local OOC chat command(/b) - by R3G1ST3R - 27.05.2011, 00:40
Respuesta: Need a normal Local OOC chat command(/b) - by admantis - 27.05.2011, 00:44
Re: Need a normal Local OOC chat command(/b) - by R3G1ST3R - 27.05.2011, 01:58
Re: Need a normal Local OOC chat command(/b) - by Elka_Blazer - 27.05.2011, 07:28
Re: Need a normal Local OOC chat command(/b) - by R3G1ST3R - 27.05.2011, 15:26
Re: Need a normal Local OOC chat command(/b) - by Cjgogo - 27.05.2011, 15:28
Re: Need a normal Local OOC chat command(/b) - by dannyk0ed - 27.05.2011, 15:30
Re: Need a normal Local OOC chat command(/b) - by R3G1ST3R - 27.05.2011, 15:36
Re: Need a normal Local OOC chat command(/b) - by Captain Price - 27.05.2011, 16:03
Re: Need a normal Local OOC chat command(/b) - by R3G1ST3R - 27.05.2011, 16:12

Forum Jump:


Users browsing this thread: 1 Guest(s)