Is it possible to show Custom item in menu using mysql ?
I want to change TEXT in menu using website. Lets say I have 6 points in menu and form with 6 lines on website. I need to change text in each menu item
1. [HELLO]
2. Drop weapon
3. open xxx menu
4 [BYE]
after change on website
1. LOL ?
2. WTF
3. disconnect
4. get admin
Amxbans has that feature because amxbans reasons read web/sql data
I would pay for the code and sql rows
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
Last edited by avril-lavigne; 09-13-2012 at 00:34.
I want to have ability to rename menu items thru my website, using mysql to store data or set new names.
html form will send new data to mysql
Hlds server will read it and change the menu
Spoiler
1.visit server Gungame
2.Visit server War3
3.Visit server Zombie
after changing the text on website
1.visit fking server again!
2.Boxing mod visit it
3.go to alliedmods forum
just other text in menu item... thas what I want
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
Last edited by avril-lavigne; 09-13-2012 at 10:52.
new Handle:Queries = SQL_PrepareQuery( SqlxConnection, "CREATE TABLE IF NOT EXISTS `%s` (\ `id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,\ `hostname` VARCHAR( 100 ) NOT NULL,\ `adminname` VARCHAR( 100 ) NOT NULL,\ `steamid` VARCHAR( 100 ) NOT NULL,\ `connecttime` TIME NOT NULL default '00:00:00',\ `connectdate` DATE NOT NULL default '0000-00-00')", g_Table );
The database is your custom name , table should be called 'tablehere' , columns names should be "MenuData" and "Handler" , both should be Varchar 64 ( The names should be without quotes )
See if this is that you want.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
Last edited by lucas_7_94; 09-14-2012 at 09:00.
Reason: Fixed a little thing when playes closes the menu.
I already posted the code , install it , create the database with data already posted and done , post your server name and your ips and plugin will do all.
GL and , repost if you have any problem.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.