Sarrum

Untitled

May 28th, 2017
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. addEventHandler ( "onPlayerJoin", root,
  2.     function ( )
  3.         local country = exports.admin:getPlayerCountry ( source )
  4.         if ( country == "BR" ) then
  5.             kickPlayer ( source, "Your region is blocked." )
  6.         end
  7.     end
  8. )
Advertisement
Add Comment
Please, Sign In to add comment