Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. function GiveVIP(ply , index)
  2.  
  3. if type(ply) == "Player" and ply:IsValid() then
  4. ply:SetPData("VIPMode", index)
  5. elseif type(ply) == "string" then
  6. util.SetPData(ply, "VIPMode", index)
  7. end
  8. end
  9.  
  10. function IsRightVIPMode(ply, index)
  11.  
  12. return (ply:GetPData("VIPMode", 0) >= index)
  13.  
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement