How to send a message to near players
#8

Try something like this
pawn Код:
CMD:dice(playerid, params[])
{    
    new pname[MAX_PLAYER_NAME], string[22 + MAX_PLAYER_NAME];
    new randMSG = random(sizeof(RandomMSG));
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), "%s: %s", pname,RandomMSG[randMSG]);
    SendClientMessageToAll(-1, string);
    ProxDetector(30, playerid, string, COLOR_GREY);
    return 1;
}
Reply


Messages In This Thread
How to send a message to near players - by bustern - 16.11.2013, 15:32
Re: How to send a message to near players - by Voxel - 16.11.2013, 15:36
Re: How to send a message to near players - by bustern - 16.11.2013, 15:43
Re: How to send a message to near players - by Patrick - 16.11.2013, 15:47
Re: How to send a message to near players - by bustern - 16.11.2013, 15:51
Re: How to send a message to near players - by Voxel - 16.11.2013, 15:57
Re: How to send a message to near players - by bustern - 16.11.2013, 16:14
Re: How to send a message to near players - by Voxel - 16.11.2013, 16:19
Re: How to send a message to near players - by Patrick - 16.11.2013, 16:20
Re: How to send a message to near players - by bustern - 16.11.2013, 16:23

Forum Jump:


Users browsing this thread: 1 Guest(s)