Quote:
Originally Posted by SAJAL
I compiled it, the compiler gives no issues, but the plugin is not working when I say glow or /glow, can you provide the working plugin? Or tell me how to get it working
|
why not use this? which is provided by @Kia
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#include <hamsandwich>
#define PLUGIN "VIP Glow"
#define VERSION "1.0"
#define AUTHOR "Author"
new const VIP_ACCESS = ADMIN_LEVEL_H
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn, "player", "PlayerPostSpawn", 1);
}
public PlayerPostSpawn(id)
{
if(is_user_alive (id) && get_user_flags(id) & VIP_ACCESS)
set_user_rendering(id, kRenderFxGlowShell, cs_get_user_team(id) == CS_TEAM_CT ? 0 : 255, 0, cs_get_user_team(id) == CS_TEAM_CT ? 255 : 0, kRenderNormal, 16)
}
And also bumping old thread is not allowed, if u need any help so make new thread.
__________________