Hi guys, anyone can help me?
I need a c++ function, similar to player:getStorageValue and player:setStorageValue, but this can accept string values, like:
player:getStringStorage(key)
player:setStringStorage(key, value)
I have this database:
@Lordfire or @WibbenZ, you are experts in this area, any can help me?
Thanks a lot.
I need a c++ function, similar to player:getStorageValue and player:setStorageValue, but this can accept string values, like:
player:getStringStorage(key)
player:setStringStorage(key, value)
I have this database:
Code:
CREATE TABLE IF NOT EXISTS `string_storage` (
`id` int(11) NOT NULL DEFAULT '0',
`key` int(10) unsigned NOT NULL DEFAULT '0',
`value` varchar(255) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`,`key`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
@Lordfire or @WibbenZ, you are experts in this area, any can help me?
Thanks a lot.
Last edited: