How to make a player vip(without Powers)?
hi,
i want to make some of my server visitors as vip but without any powers...just like this pic http://i61.tinypic.com/307t7yh.jpg please help |
Re: How to make a player vip(without Powers)?
|
Re: How to make a player vip(without Powers)?
Only CTs will be able to see it.
|
Re: How to make a player vip(without Powers)?
Quote:
sorry new to this..-_- |
Re: How to make a player vip(without Powers)?
/* Plugin generated by AMXX-Studio */
#include <amxmodx> #include <amxmisc> #define PLUGIN "New Plugin" #define VERSION "1.0" #define AUTHOR "Author" #define VIP_LEVEL ADMIN_KICK new vips[33] public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("ResetHUD","resethud","be") } public client_putinserver(id) { if(access(id,VIP_LEVEL)) { vips[id] = true } } public client_disconnect(id) { if( vips[id] ) { vips[id] = false } } public resethud(id) { if( vips[id] ) { set_user_scoreattrib(id,4) } } stock set_user_scoreattrib(id,attrib=0) { message_begin(2,get_user_msgid("ScoreAttrib") ,{0,0,0},0); write_byte(id); write_byte(attrib); message_end(); } I found this too.. but dont know how to use it .. please help!! |
Re: How to make a player vip(without Powers)?
Quote:
|
Re: How to make a player vip(without Powers)?
Quote:
How to do that? |
Re: How to make a player vip(without Powers)?
in your code, change this line to something else (another flag), and add it to your VIPs in your users.ini file.:
Code:
#define VIP_LEVEL ADMIN_KICK
edit the line above↑ like this↓: Code:
#define VIP_LEVEL ADMIN_LEVEL_ACode:
"STEAM_0:1:01010101" "" "m" "ce" |
Re: How to make a player vip(without Powers)?
Quote:
thanks for this but it isn't working... :/ |
| All times are GMT -4. The time now is 00:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.