This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

AwesomeMenu (Rank Menu)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 04-24-2012 , 16:06   AwesomeMenu (Rank Menu)
Reply With Quote #1

Awesome Menu


This plugin makes gives you a chance to make ur owner, admin, vip, member, ... menu.
U don't even need scripting skills for it.

[ Item List ]
Code:
enum _:enumItems {
	Kick,		// 0
	Ban,		// 1
	Slay,		// 2
	Slap,		// 3
	Mute,		// 4
	Respawn,	// 5
	Transfer,	// 6
	
	Changemap,	// 7
	
	WriteNote,	// 8
	
	VoteKick,	// 9
	VoteBan,	// 10
	VoteMap,	// 11
	Vote		// 12
}
Like you see, every 'item' got a number.
This number is needed to make ur own menu's.

[ Adding new Rank ]
- Here I will explain how to add a new Rank. (For example: Vip, Member, ..)

Code:
// Put here the rank (Vip, Member, ...)
enum _:enumRank {
	Owner,
	Admin
}

// Put here the rank name [string]
new const Rank_Names[enumRank][] = {
	"Owner",
	"Admin"
}

// Flag that the player needs
new const Rank_Flags[enumRank] = {
	ADMIN_BAN,
	ADMIN_KICK
}

// Item numbers
new const Rank_Items[enumRank][] = {
	" 0 1 9 2 3 4 7 8",
	" 0 1 11 9 3 4"
}

// Tagname befor name
new const Rank_Tags[enumRank][] = {
	"[Owner]",
	"[Admin]"
}
- This are the 5 things U gotta add / edit, to make ur own rank.

[ Rank_Items ]

Code:
new const Rank_Items[enumRank][] = {
	" 0 1 9 2 3 4 7 8",
	" 0 1 11 9 3 4"
}
- I will explain here now how to make own menu's for each rank.

" 0 1 9 2 3 4 7 8" (Is first line, so Owner)
Ingame:

1. Kick
2. Ban
...

- These are the numbers that I showed @ [ enumItems ]
- U can change the numbers, so u get ur own menu for each rank
- Always use spaces


I didn't had time to test all, post me all bugs.


(I'm bad at explaining things, but I hope u guys understand. Bugs, questions, .. can be posted in this thread!)
Attached Files
File Type: sma Get Plugin or Get Source (AwesomeMenu.sma - 1226 views - 14.2 KB)
__________________
Retired.

Last edited by Xalus; 04-24-2012 at 16:22.
Xalus is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode