Advertisement
Guest User

PASTEBINMASKABIN

a guest
May 28th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. PLUGIN.name = "CP punkty"
  2. PLUGIN.author = "BlackMaska"
  3. PLUGIN.desc = "Punkty posłuszeństwa."
  4.  
  5. if (SERVER) then
  6. function PLUGIN:PlayerTick(ply, mv)
  7.  
  8. if(ply:getChar():getData("cppoints") == nil)then
  9. ply:getChar():setData("cppoints", 0)
  10. end
  11. if(ply:getChar():getData("cppoints") < -10)then
  12. ply:getChar():setData("citistan", "Buntownik")
  13. end
  14. if(ply:getChar():getData("cppoints") >= -10 && ply:getChar():getData("cppoints") < -5)then
  15. ply:getChar():setData("citistan", "Anti-Citizen")
  16. end
  17. if(ply:getChar():getData("cppoints") >= -5 && ply:getChar():getData("cppoints") < -3)then
  18. ply:getChar():setData("citistan", "Zaborczy")
  19. end
  20. if(ply:getChar():getData("cppoints") >= -2 && ply:getChar():getData("cppoints") < 5)then
  21. ply:getChar():setData("citistan", "Pracowity")
  22. end
  23. if(ply:getChar():getData("cppoints") >= 5 && ply:getChar():getData("cppoints") < 10)then
  24. ply:getChar():setData("citistan", "Pomocny")
  25. end
  26. if(ply:getChar():getData("cppoints") >= 10)then
  27. ply:getChar():setData("citistan", "Kandydat do ZPO")
  28. end
  29.  
  30. end
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement