Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
[REL] jobManager [Holograph, ROLEPLAY]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Sledmore" data-source="post: 189576" data-attributes="member: 591"><p>Hey,</p><p> </p><p>Was looking over some of my old files since I've now moved on to working on PlusRP I thought I'd release some of my old stuff, and I thought I'd give out my jobManager, some of you may remember me working on BflyRP and working on that made me create this, but for Holograph, well it can EASILY be changed for anything.</p><p> </p><p>You can get this jobManager <a href="http://pastebin.com/e7MXrFVy" target="_blank">here</a> (<a href="http://pastebin.com/e7MXrFVy" target="_blank">http://pastebin.com/e7MXrFVy</a>).</p><p> </p><p>Now I'll show you some examples on how you can use this.</p><p> </p><p>Example #1: Hire command.</p><p>[CODE]</p><p>if (jobManager.canHire(USERS JOB ID) != true)</p><p>{</p><p>Room.sendWhisper(roomUser, _Username, "your job doesn't give you the power to use this command.");</p><p>break;</p><p>}</p><p>[/CODE]</p><p> </p><p>The above command will call the 'canHire' boolean and check in the dictionary to see if that job rank can use the hire permission.</p><p> </p><p>The usage is very easy and simple, if you like this release, please click the 'Like' button. <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="Sledmore, post: 189576, member: 591"] Hey, Was looking over some of my old files since I've now moved on to working on PlusRP I thought I'd release some of my old stuff, and I thought I'd give out my jobManager, some of you may remember me working on BflyRP and working on that made me create this, but for Holograph, well it can EASILY be changed for anything. You can get this jobManager [URL='http://pastebin.com/e7MXrFVy']here[/URL] ([url]http://pastebin.com/e7MXrFVy[/url]). Now I'll show you some examples on how you can use this. Example #1: Hire command. [CODE] if (jobManager.canHire(USERS JOB ID) != true) { Room.sendWhisper(roomUser, _Username, "your job doesn't give you the power to use this command."); break; } [/CODE] The above command will call the 'canHire' boolean and check in the dictionary to see if that job rank can use the hire permission. The usage is very easy and simple, if you like this release, please click the 'Like' button. :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
[REL] jobManager [Holograph, ROLEPLAY]
Top