Jimbodawg Posted February 19, 2009 Author Share Posted February 19, 2009 If anyone could locate/create a script that allows for an item to grant players certain privileges such as becoming a moderator, then I'd be quite thankful.Also, due to my low script knowledge, I'll need to know where to put it (Main.txt) and what I'll need to change to change the player privileges. (i.e 1, 2, 3, 4)How will I know which # the scripted item is?Thanks.. =) Link to comment Share on other sites More sharing options...
Alster Posted February 19, 2009 Share Posted February 19, 2009 ```Case 1'Alster's Rank Up ScriptDim Access Access = getplayeraccess(index)If Access = 5 Thencall playermsg(index, "You're the owner, you can't get any higher!", RED)End IfIf Access = 0 Then call setplayeraccess(index, 1)call playermsg(index, "You're now a mod!", RED)End IfIf Access = 1 Then call setplayeraccess(index, 2)call playermsg(index, "You're now a mapper!", RED)End IfIf Access = 2 Then call setplayeraccess(index, 3)call playermsg(index, "You're now a main developer!", RED)End IfIf Access = 3 Then call setplayeraccess(index, 4)call playermsg(index, "You're now a mapper!", RED)End IfIf Access = 4 Then call setplayeraccess(index, 5)call playermsg(index, "You're now the owner!", RED)End If```Very easy, just wham this under```Sub ScriptedItem(Index, Script)```Hope this works… it's untested...EDIT: What it does.This'll will level them up a privilege. So if they're just a player when they use the item they will become a mod. If they're a mod they'll become a dev and so forth. Just study it, it should be easy to figure out. Link to comment Share on other sites More sharing options...
Jimbodawg Posted February 19, 2009 Author Share Posted February 19, 2009 Thank you very much. You sir have saved me troubles. =) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now