AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   How to make a player vip(without Powers)? (https://forums.alliedmods.net/showthread.php?t=254134)

akash_rival 12-30-2014 14:16

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

Phant 12-30-2014 14:25

Re: How to make a player vip(without Powers)?
 
https://forums.alliedmods.net/showpo...89&postcount=3

wickedd 12-30-2014 14:33

Re: How to make a player vip(without Powers)?
 
Only CTs will be able to see it.

akash_rival 12-30-2014 14:44

Re: How to make a player vip(without Powers)?
 
Quote:

Originally Posted by Phant (Post 2242288)

how to use that code ??
sorry new to this..-_-

akash_rival 12-30-2014 15:09

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!!

ANTICHRISTUS 12-30-2014 16:37

Re: How to make a player vip(without Powers)?
 
Quote:

Originally Posted by akash_rival (Post 2242312)
I found this too.. but dont know how to use it ..


akash_rival 12-30-2014 23:54

Re: How to make a player vip(without Powers)?
 
Quote:

Originally Posted by ANTICHRISTUS (Post 2242354)

I did as you said,but it is only for admins .I want to make some of my players as VIP as shown above in my pic.
How to do that?

ANTICHRISTUS 12-31-2014 06:10

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
how ?
example:

edit the line above↑ like this↓:
Code:

#define VIP_LEVEL ADMIN_LEVEL_A
and add the flag m to your VIPs like this:
Code:

"STEAM_0:1:01010101" "" "m" "ce"

akash_rival 01-02-2015 01:21

Re: How to make a player vip(without Powers)?
 
Quote:

Originally Posted by ANTICHRISTUS (Post 2242636)
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
how ?
example:

edit the line above↑ like this↓:
Code:

#define VIP_LEVEL ADMIN_LEVEL_A
and add the flag m to your VIPs like this:
Code:

"STEAM_0:1:01010101" "" "m" "ce"


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.