Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock RoundMessage(playerid, color, string[], Float:radius)
- {
- if(IsPlayerConnected(playerid))
- {
- new Float:pos[3];
- GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
- for(new i=0;i<GetMaxPlayers();i++)
- {
- if(IsPlayerInRangeOfPoint(i, radius, pos[0], pos[1], pos[2]))
- {
- SendClientMessage(i, color, string);
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment