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

[REQ] VIP+ADMIN+Owner Skins Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
waizedzzy
Member
Join Date: May 2016
Location: France
Old 12-04-2016 , 07:57   [REQ] VIP+ADMIN+Owner Skins Plugin
Reply With Quote #1

Hello guys, I'm requesting here a plugin witch it gives a skin for
Vips - ADMIN_LEVEL_H
Admin - ADMIN_BAN
Owner - o - ADMIN_LEVEL_C

so the models will be in:
models/lamdaskins/vipct.mdl
models/lamdaskins/vipt.mdl
models/lamdaskins/adminct.mdl
models/lamdaskins/admint.mdl
models/lamdaskins/ownerct.mdl
models/lamdaskins/ownert.mdl

Don't say that i didn't searched, I've found some that i don't like (ex: skins in steam id)
Thanks for helping me, Have a nice day.
__________________
Invincible Wxx ^.^
waizedzzy is offline
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 12-04-2016 , 19:08   Re: [REQ] VIP+ADMIN+Owner Skins Plugin
Reply With Quote #2

Not tested, did this while tired so maybe some mistake some where.

Code:
#include <amxmodx> 
#include <cstrike> 

enum 
{ 
	TEAM_UNASSIGNED, 
	TEAM_T, 
	TEAM_CT, 
	TEAM_SPECTATOR 
}; 

enum _:enumPlayerModels
{
	Owner,
	Admin,
	Vip
}

new const Player_Level[enumPlayerModels][] =
{
	ADMIN_LEVEL_C, //owner
	ADMIN_BAN, //admin
	ADMIN_LEVEL_H //vip
}

new const Player_Models[enumPlayerModels][] =
{
	{"models/player/lamdaskins/ownerct.mdl", "models/player/lamdaskins/ownert.mdl"},
	{"models/player/lamdaskins/adminct.mdl", "models/player/lamdaskins/admint.mdl"},
	{"models/player/lamdaskins/vipct.mdl", "models/player/lamdaskins/vipt.mdl"}
}

new playerModel[33];

public plugin_precache() 
{ 
	for(new i = 0; i < enumPlayerModels; i++)
	{
		precache_model(Player_Models[i][0]) //ct models
		precache_model(Player_Models[i][1]) //t models
	}
} 

public plugin_init() 
{ 
	register_plugin("Admin Models", "1.0", "SnusMumrikeN");
	
	register_event("ResetHUD", "ResetHUD", "be"); 
} 

public client_authorized(id)
{
	playerModel[id] = -1;
	
	for(new i = 0; i < enumPlayerModels; i++)
	{
		if (get_user_flags(id) & Player_Level[i][0]) 
		{
			playerModel[id] = i;
			return;
		}
	}
}

public ResetHUD(id) 
{ 
	if(playerModel[id] == -1)
		return;
		
	if (!is_user_alive(id)) 
		return; 
	
	new CsTeams:Team = cs_get_user_team(id); 
	
	switch (Team) 
	{ 
		case TEAM_CT: cs_set_user_model(id, Player_Models[playerModel[id]][0]); 	
		case TEAM_T: cs_set_user_model(id, Player_Models[playerModel[id]][1]);  
	} 
	
}
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
waizedzzy
Member
Join Date: May 2016
Location: France
Old 12-05-2016 , 10:57   Re: [REQ] VIP+ADMIN+Owner Skins Plugin
Reply With Quote #3

Thx, I'll try it
__________________
Invincible Wxx ^.^
waizedzzy is offline
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 12-06-2016 , 17:55   Re: [REQ] VIP+ADMIN+Owner Skins Plugin
Reply With Quote #4

can you please post the models here

Last edited by yas17sin; 12-06-2016 at 17:56. Reason: bad words
yas17sin is offline
Send a message via ICQ to yas17sin
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-06-2016 , 18:55   Re: [REQ] VIP+ADMIN+Owner Skins Plugin
Reply With Quote #5

Quote:
Originally Posted by yas17sin View Post
can you please post the models here
What have the models got to do with the request?!
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 12-06-2016 , 19:19   Re: [REQ] VIP+ADMIN+Owner Skins Plugin
Reply With Quote #6

Quote:
Originally Posted by OciXCrom View Post
What have the models got to do with the request?!
he say he the models and i don"t have i just asked for it
yas17sin is offline
Send a message via ICQ to yas17sin
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-07-2016 , 05:19   Re: [REQ] VIP+ADMIN+Owner Skins Plugin
Reply With Quote #7

You don't need the models to make the code.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 12-07-2016 , 09:20   Re: [REQ] VIP+ADMIN+Owner Skins Plugin
Reply With Quote #8

Quote:
Originally Posted by yas17sin View Post
can you please post the models here
If you want to use your own models and admin ranks you can easily edit these lines in the plugin.

Code:
enum _:enumPlayerModels
{
	Owner,
	Admin,
	Vip
}

new const Player_Level[enumPlayerModels][] =
{
	ADMIN_LEVEL_C, //owner
	ADMIN_BAN, //admin
	ADMIN_LEVEL_H //vip
}

new const Player_Models[enumPlayerModels][] =
{
	{"models/player/lamdaskins/ownerct.mdl", "models/player/lamdaskins/ownert.mdl"},
	{"models/player/lamdaskins/adminct.mdl", "models/player/lamdaskins/admint.mdl"},
	{"models/player/lamdaskins/vipct.mdl", "models/player/lamdaskins/vipt.mdl"}
}
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 12-08-2016 , 19:35   Re: [REQ] VIP+ADMIN+Owner Skins Plugin
Reply With Quote #9

thanks it work
yas17sin is offline
Send a message via ICQ to yas17sin
Old 01-23-2019, 14:04
Shadowless
This message has been deleted by Shadowless.
SomewhereLost
AlliedModders Donor
Join Date: Mar 2014
Location: Tomorrowland
Old 01-23-2019 , 14:48   Re: [REQ] VIP+ADMIN+Owner Skins Plugin
Reply With Quote #10

Quote:
L 25/06/2018 - 12:57:59: (map "mini_dust") Mod_LoadModel: odels/player/owner_ct/owner_ct.mdl not found
L 25/06/2018 - 12:58:10: (map "de_dust2") Mod_LoadModel: odels/player/owner_ct/owner_ct.mdl not found
L 25/06/2018 - 12:58:21: (map "de_dust2") Mod_LoadModel: odels/player/owner_ct/owner_ct.mdl not found
L 25/06/2018 - 12:581: (map "de_dust2") Mod_LoadModel: odels/player/owner_ct/owner_ct.mdl not found
Missing "m" after loadmodel.
__________________
SomewhereLost is offline
Send a message via Skype™ to SomewhereLost
Old 01-23-2019, 14:52
Shadowless
This message has been deleted by Shadowless.
Reply



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 06:09.


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