Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock SendLocalActionMessage(playerid, action[])
- {
- new str[128];
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- format(str, sizeof(str), "%s %s", GetPlayerCleanName(playerid), action);
- for(new i; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerInRangeOfPoint(i, 8, x, y, z) SendClientMessage(i, COLOR_RPMESSAGE, str);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment