Advertisement
Deadman69330

Untitled

Oct 9th, 2019
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. include("sh_roll.lua")
  2.  
  3. local conf = ROLLCONF
  4.  
  5. local function Roll(ply, args)
  6. local DoSay = function()
  7. for _, target in pairs(player.GetAll()) do
  8. DarkRP.talkToPerson(target, team.GetColor(ply:Team()), ply:Nick().. conf.tchatmsg ..math.random(1,100).."." )
  9. end
  10. end
  11. return args, DoSay
  12. end
  13. DarkRP.defineChatCommand(conf.cmd, Roll, 1.5)
  14.  
  15. DarkRP.declareChatCommand{
  16. command = conf.cmd,
  17. description = "write an roll",
  18. delay = 1.5
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement