Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working zv_is_player_vip(index) #1

Open
YankoNL opened this issue Sep 22, 2023 · 0 comments
Open

Not working zv_is_player_vip(index) #1

YankoNL opened this issue Sep 22, 2023 · 0 comments

Comments

@YankoNL
Copy link

YankoNL commented Sep 22, 2023

I made a plugin for VIP's Online and I noticed that this function isn't working. I didn't find a way to fix the function, so instead I need to use this method for checking if the player is VIP in every plugin.

stock is_vip(id)
{
	if(!cvar_exists("zp_vip_flag_acess")) return 0;
	new g_szFlags[32];
	get_cvar_string("zp_vip_flag_acess", g_szFlags, sizeof g_szFlags -1);

	return get_user_flags(id) & read_flags(g_szFlags)
}

Can you fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant