How to send a global message?
#3

pawn Код:
GetPlayerPos(playerid, x, y, z);
        for(new i=0; i <= GetMaxPlayers(); i++)
        {
            if(PlayerToPoint(10.0, i, x, y, z))
            {
                format(string, sizeof(string),"%s(%d) says: %s", sendername, playerid, message);
                SendClientMessage(i, COLOR_PURPLE, string);
                return 1;
            }
        }
Reply


Messages In This Thread
How to send a global message? - by KennethRandall - 02.08.2010, 20:21
Re: How to send a global message? - by cofy1 - 02.08.2010, 20:40
Re: How to send a global message? - by Hiddos - 02.08.2010, 20:40
Re: How to send a global message? - by KennethRandall - 02.08.2010, 20:43
Re: How to send a global message? - by KennethRandall - 02.08.2010, 20:46
Re: How to send a global message? - by Conroy - 02.08.2010, 21:19
Re: How to send a global message? - by KennethRandall - 02.08.2010, 21:30
Re: How to send a global message? - by Conroy - 02.08.2010, 21:45

Forum Jump:


Users browsing this thread: 1 Guest(s)