• Pointshop How to make spec not get points?
    2 replies, posted
Like the title says how can i make it so spec in ttt can not gain points while alive/dead can. The problem i'm having isSpec() counts dead people as spec [CODE] if PS.Config.PointsOverTime then timer.Create('PS_PointsOverTime_' .. self:UniqueID(), PS.Config.PointsOverTimeDelay * 60, 0, function() if !IsValid(self) then return end if self:IsSpec() then self:PS_GivePoints(0) self:PS_Notify("While in spec you gain no ", PS.Config.PointsName) else self:PS_GivePoints(PS.Config.PointsOverTimeAmount) self:PS_Notify("You've been given ", PS.Config.PointsOverTimeAmount, " ", PS.Config.PointsName, " for playing on the server!") end end) end[/CODE]
Use self:GetForceSpec() instead
[QUOTE=sannys;51388699]Use self:GetForceSpec() instead[/QUOTE] Thank you that fixed it.
Sorry, you need to Log In to post a reply to this thread.