i am moving from NVAULT to MYSQL , i am Noob in MYSQL and knows nothing about it , so Can anybody convert this two variables data's to save to MYSQL ?
and also one small plugin which import all the datas from NVAULT to MYSQL database
PHP Code:
enum _:PlayerStuff
{
Escapes,
Ec,
SteamID[ 33 ]
}
new psPlayerData[ 33 ][ PlayerStuff ];
public plugin_cfg()
{
g_iVault = nvault_open("nv_escapes_c")
server_print( "Nvault opened: %d", g_iVault )
}
public plugin_end()
{
nvault_close(g_iVault)
}
public use_vault(const id, const bool:bSave)
{
if(bSave)
{
nvault_set_array( g_iVault , psPlayerData[ id ][ SteamID ] , psPlayerData[ id ] , sizeof( psPlayerData[] ) );
}
else
{
new iTimeStamp;
nvault_get_array( g_iVault , psPlayerData[ id ][ SteamID ] , psPlayerData[ id ] , sizeof( psPlayerData[] ) , iTimeStamp )
}
}
i can read tutorials and learn some basic but no time for it that's why reason i am requesting someone to made me a Small Code . rest i will do
__________________