Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PLUGIN.name = "CP punkty"
- PLUGIN.author = "BlackMaska"
- PLUGIN.desc = "Punkty posłuszeństwa."
- if (SERVER) then
- function PLUGIN:PlayerTick(ply, mv)
- if(ply:getChar():getData("cppoints") == nil)then
- ply:getChar():setData("cppoints", 0)
- end
- if(ply:getChar():getData("cppoints") < -10)then
- ply:getChar():setData("citistan", "Buntownik")
- end
- if(ply:getChar():getData("cppoints") >= -10 && ply:getChar():getData("cppoints") < -5)then
- ply:getChar():setData("citistan", "Anti-Citizen")
- end
- if(ply:getChar():getData("cppoints") >= -5 && ply:getChar():getData("cppoints") < -3)then
- ply:getChar():setData("citistan", "Zaborczy")
- end
- if(ply:getChar():getData("cppoints") >= -2 && ply:getChar():getData("cppoints") < 5)then
- ply:getChar():setData("citistan", "Pracowity")
- end
- if(ply:getChar():getData("cppoints") >= 5 && ply:getChar():getData("cppoints") < 10)then
- ply:getChar():setData("citistan", "Pomocny")
- end
- if(ply:getChar():getData("cppoints") >= 10)then
- ply:getChar():setData("citistan", "Kandydat do ZPO")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement