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!)