Hey Hey ;)
Code:
public plugin_init()
{
register_plugin(GH_PLUGIN, GH_VERSION, GH_AUTHOR)
register_clcmd("amx_ghmenu","gh_checkmenu",ADMIN_ALL, "- Shows Gamehotel Menu")
/*** NEED HELP WITH THIS PART *****/
new gh_vaultcheck[64]
vaultdata_exists("gh_servermode",gh_vaultcheck[64])
if(!equali(gh_vaultcheck,"TRUE"))
{
set_vaultdata("gh_servermode","FFA")
}
/*** NEED HELP WITH THIS PART *****/
}
How do i write that part of the code, where the script checks if vault have the vault data of: gh_servermode and if it don't it sets the vault to FFA. And if it do have the Vault data it just don't do anything and happly moves along
__________________