Advertisement
81_DrizZle

Untitled

May 19th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. if PS.Config.PointsOverTime then
  2.         timer.Create('PS_PointsOverTime_' .. self:UniqueID(), PS.Config.PointsOverTimeDelay * 60, 0, function()
  3.             if !IsValid(self) or self:Alive() and team.GetName(self:Team()) == "Spectators" then return end
  4.             self:PS_GivePoints(PS.Config.PointsOverTimeAmount)
  5.             self:PS_Notify("You've been given ", PS.Config.PointsOverTimeAmount, " ", PS.Config.PointsName, " for playing on the server!")
  6.         end)
  7.     end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement