View Single Post
Azelphur
AlliedModders Donor
Join Date: Jun 2010
Old 05-26-2011 , 13:21   Re: Advanced Rules Menu
Reply With Quote #49

I made a couple fixes to this so I could run it on my server

1) Changed the OnClientPostAdminCheck() hook to use the player_spawn event, the menu will no longer be sent before the player has finished connecting, and will no longer disappear before they've seen it.
2) Once you start interacting with the menu, or type /rules, the menu will not disappear after 10 seconds.
3) Removed PrintToServer() debug messages


Feel free to incorporate these changes into the main release.
Attached Files
File Type: sp Get Plugin or Get Source (rules.sp - 463 views - 7.9 KB)
__________________
Azelphur is offline