Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bind(player_chat, null, null, @e,
- @worlds = array('blockhunt')
- @recipients = array()
- foreach(all_players(), @player) {
- if(pworld(@player) == pworld(@e['player'])) {
- @curRegions = sk_current_regions(@e['player'])
- if(array_contains_ic(@worlds, pworld(@e['player'])) {
- foreach(@curRegions, @region) {
- if(array_contains_ic(sk_current_regions(@player), @region)) {
- if(!array_contains_ic(@recipients, @player)) {
- array_push(@recipients, @player)
- }
- }
- }
- else { array_push(@recipients, @player) }
- }
- }
- modify_event('recipients', @recipients)
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement