Raised This Month: $12 Target: $400
 3% 

Admin & Vip Customization Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
oday91
Junior Member
Join Date: Jun 2011
Old 01-30-2014 , 22:39   Re: Admin & Vip Customization Plugin
Reply With Quote #21

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <engine>

#define PLUGIN "Admin & Vip Customization"
#define VERSION "0.1"
#define AUTHOR "DeeKeiD/Rudle"

// Half of code taken from Alkas Custom Admin\Vip Plugin

public plugin_init() {

register_plugin(PLUGIN, VERSION, AUTHOR);
}

/*public plugin_precache() {

precache_sound("misc/vip.wav");
precache_sound("misc/admin.wav");

}*/

public plugin_precache() {
precache_model("models/player/vip/vip.mdl")

return PLUGIN_CONTINUE
}

public client_putinserver(id) //"client_connect" is to earlyer...
{
/*if((get_user_flags(id) & ADMIN_LEVEL_A))
{
new name[32];
get_user_name(id, name, 31);
//get_user_name(id, name, sizeof name - 1);

set_hudmessage(0, 255, 0, -1.0, -1.0, 0, 3.0, 7.0);
show_hudmessage(0, "Admin %s joined on the server!", name); // Welcome message
//client_cmd(id, "spk misc/admin.wav")
} //Dont use if your making ur self admin
else */
if((get_user_flags(id) & ADMIN_LEVEL_A))
{
new authid[32];
get_user_authid(id, authid, 31);
set_hudmessage(0, 255, 0, -1.0, -1.0, 0, 3.0, 7.0);
show_hudmessage(0, "V.I.P %s joined on the server!", authid); // Welcome Message
client_print(id,print_chat,"Welcome back sir!"); // Private welcome message
//cs_set_user_model(id, "models/player/vip/vip.mdl"); // change of player model to custom(vip)
cs_set_user_model(id, "vip")
cs_get_user_money(id)
cs_get_user_deaths(id)
cs_set_user_deaths(id, 1337); // set player deaths to 1337 works
cs_set_user_money(id , 1337); // set player money to 1337 does work
//client_cmd(id, "spk misc/vip.wav")
}
}
__________________
oday91 is offline
oday91
Junior Member
Join Date: Jun 2011
Old 01-30-2014 , 22:40   Re: Admin & Vip Customization Plugin
Reply With Quote #22

can i get this to amxx plssssssssss
i want the just the admin what the A flag or ( level ) to get this skin
plasss help

here is the sma plugin and it should work for it


#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <engine>

#define PLUGIN "Admin & Vip Customization"
#define VERSION "0.1"
#define AUTHOR "DeeKeiD/Rudle"

// Half of code taken from Alkas Custom Admin\Vip Plugin

public plugin_init() {

register_plugin(PLUGIN, VERSION, AUTHOR);
}

/*public plugin_precache() {

precache_sound("misc/vip.wav");
precache_sound("misc/admin.wav");

}*/

public plugin_precache() {
precache_model("models/player/vip/vip.mdl")

return PLUGIN_CONTINUE
}

public client_putinserver(id) //"client_connect" is to earlyer...
{
/*if((get_user_flags(id) & ADMIN_LEVEL_B))
{
new name[32];
get_user_name(id, name, 31);
//get_user_name(id, name, sizeof name - 1);

set_hudmessage(0, 255, 0, -1.0, -1.0, 0, 3.0, 7.0);
show_hudmessage(0, "Admin %s joined on the server!", name); // Welcome message
//client_cmd(id, "spk misc/admin.wav")
} //Dont use if your making ur self admin
else */
if((get_user_flags(id) & ADMIN_LEVEL_A))
{
new authid[32];
get_user_authid(id, authid, 31);
set_hudmessage(0, 255, 0, -1.0, -1.0, 0, 3.0, 7.0);
show_hudmessage(0, "V.I.P %s joined on the server!", authid); // Welcome Message
client_print(id,print_chat,"Welcome back sir!"); // Private welcome message
//cs_set_user_model(id, "models/player/vip/vip.mdl"); // change of player model to custom(vip)
cs_set_user_model(id, "vip")
cs_get_user_money(id)
cs_get_user_deaths(id)
cs_set_user_deaths(id, 1337); // set player deaths to 1337 works
cs_set_user_money(id , 1337); // set player money to 1337 does work
//client_cmd(id, "spk misc/vip.wav")
}
}
__________________
oday91 is offline
oday91
Junior Member
Join Date: Jun 2011
Old 01-30-2014 , 22:43   Re: Admin & Vip Customization Plugin
Reply With Quote #23

or it should look like that

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <engine>

#define PLUGIN "Admin & Vip Customization"
#define VERSION "0.1"
#define AUTHOR "DeeKeiD/Rudle"

// Half of code taken from Alkas Custom Admin\Vip Plugin

public plugin_init() {

register_plugin(PLUGIN, VERSION, AUTHOR);
}

/*public plugin_precache() {

precache_sound("misc/vip.wav");
precache_sound("misc/admin.wav");

}*/

public plugin_precache() {
precache_model("models/player/vip/vip.mdl")

return PLUGIN_CONTINUE
}

public client_putinserver(id) //"client_connect" is to earlyer...
{
/*if((get_user_flags(id) & ADMIN_LEVEL_B))
{
new name[32];
get_user_name(id, name, 31);
//get_user_name(id, name, sizeof name - 1);

set_hudmessage(0, 255, 0, -1.0, -1.0, 0, 3.0, 7.0);
show_hudmessage(0, "Admin %s joined on the server!", name); // Welcome message
//client_cmd(id, "spk misc/admin.wav")
} //Dont use if your making ur self admin
else */
if((get_user_flags(id) & ADMIN_LEVEL_A))
{
new authid[32];
get_user_authid(id, authid, 31);
set_hudmessage(0, 255, 0, -1.0, -1.0, 0, 3.0, 7.0);
show_hudmessage(0, "V.I.P %s joined on the server!", authid); // Welcome Message
client_print(id,print_chat,"Welcome back sir!"); // Private welcome message
//cs_set_user_model(id, "models/player/vip/vip.mdl"); // change of player model to custom(vip)
cs_set_user_model(id, "vip")
cs_get_user_money(id)
cs_get_user_deaths(id)
cs_set_user_deaths(id, 1337); // set player deaths to 1337 works
cs_set_user_money(id , 1337); // set player money to 1337 does work
//client_cmd(id, "spk misc/vip.wav")
}
}
__________________
oday91 is offline
oday91
Junior Member
Join Date: Jun 2011
Old 01-30-2014 , 22:46   Re: Admin & Vip Customization Plugin
Reply With Quote #24

i have test it and that what i want to be amxx

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <engine>

#define PLUGIN "Admin & Vip Customization"
#define VERSION "0.1"
#define AUTHOR "DeeKeiD/Rudle"

// Half of code taken from Alkas Custom Admin\Vip Plugin

public plugin_init() {

register_plugin(PLUGIN, VERSION, AUTHOR);
}

/*public plugin_precache() {

precache_sound("misc/vip.wav");
precache_sound("misc/admin.wav");

}*/

public plugin_precache() {
precache_model("models/player/vip/vip.mdl")

return PLUGIN_CONTINUE
}

public client_putinserver(id) //"client_connect" is to earlyer...
{
/*if((get_user_flags(id) & ADMIN_LEVEL_A))
{
new name[32];
get_user_name(id, name, 31);
//get_user_name(id, name, sizeof name - 1);

set_hudmessage(0, 255, 0, -1.0, -1.0, 0, 3.0, 7.0);
show_hudmessage(0, "Admin %s joined on the server!", name); // Welcome message
//client_cmd(id, "spk misc/admin.wav")
} //Dont use if your making ur self admin
else */
if((get_user_flags(id) & ADMIN_LEVEL_A))
{
new authid[32];
get_user_authid(id, authid, 31);
set_hudmessage(0, 255, 0, -1.0, -1.0, 0, 3.0, 7.0);
show_hudmessage(0, "V.I.P %s joined on the server!", authid); // Welcome Message
client_print(id,print_chat,"Welcome back sir!"); // Private welcome message
//cs_set_user_model(id, "models/player/vip/vip.mdl"); // change of player model to custom(vip)
cs_set_user_model(id, "vip")
cs_get_user_money(id)
cs_get_user_deaths(id)
cs_set_user_deaths(id, 1337); // set player deaths to 1337 works
cs_set_user_money(id , 1337); // set player money to 1337 does work
//client_cmd(id, "spk misc/vip.wav")
}
}
__________________
oday91 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 01-31-2014 , 00:12   Re: Admin & Vip Customization Plugin
Reply With Quote #25

What is your problem? Learn how to use the edit and post your code in [PHP] or [CODE] tags.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode