Advertisement
ViruZz

JC-MP PlayerJoin - Help Answer

Feb 20th, 2014
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. class 'Example'
  2.  
  3. function Example:__init()
  4.     Events:Subscribe("PlayerJoin", self, self.PlayerJoin)
  5. end
  6.  
  7. function Example:PlayerJoin(args)
  8.     -- Now check here if they're banned or not and perform whatever action on the player --
  9.     return false
  10. end
  11.  
  12. example = Example()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement