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

VIP Model


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Basakot
Junior Member
Join Date: Jan 2015
Location: Resita, Romania
Old 01-18-2015 , 10:55   VIP Model
Reply With Quote #1

Hi, i want a plugin that players with flag "o" will have a different skin, like VIP skin. But i want this :http://cs.gamebanana.com/skins/118798 .

Thanks.
Basakot is offline
Send a message via Skype™ to Basakot
Basakot
Junior Member
Join Date: Jan 2015
Location: Resita, Romania
Old 01-19-2015 , 07:43   Re: VIP Model
Reply With Quote #2

Anyone help!? It's just a little plugin to make...
Basakot is offline
Send a message via Skype™ to Basakot
Eviatar Mor
Senior Member
Join Date: Jun 2014
Location: israel
Old 01-19-2015 , 08:09   Re: VIP Model
Reply With Quote #3

just put the .mdl in models/player and change the name for the model to hatsune_miku.mdl
and u done.
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <cstrike> 
#include <hamsandwich> 

#define PLUGIN "New Plug-In"
#define AUTHOR "Constentine"

public plugin_precache() precache_model("models/player/hatsune_miku.mdl"
public 
plugin_init() RegisterHam(Ham_Spawn"player""player_spawn"true)
public 
player_spawn(id){ 
    if(
get_user_flags(id) & ADMIN_LEVEL_C){
        
cs_set_user_model(id"hatsune_miku"
    }

Eviatar Mor is offline
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 01-19-2015 , 08:14   Re: VIP Model
Reply With Quote #4

And 1 more thing Wait 14 days before u bump the post
tousif is offline
Shiina.Mashiro
Senior Member
Join Date: Sep 2014
Location: Vietnam
Old 01-19-2015 , 10:58   Re: VIP Model
Reply With Quote #5

Quote:
Originally Posted by Eviatar Mor View Post
just put the .mdl in models/player and change the name for the model to hatsune_miku.mdl
and u done.
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <cstrike> 
#include <hamsandwich> 

#define PLUGIN "New Plug-In"
#define AUTHOR "Constentine"

public plugin_precache() precache_model("models/player/hatsune_miku.mdl"
public 
plugin_init() RegisterHam(Ham_Spawn"player""player_spawn"true)
public 
player_spawn(id){ 
    if(
get_user_flags(id) & ADMIN_LEVEL_C){
        
cs_set_user_model(id"hatsune_miku"
    }

I think you need to change this
PHP Code:
precache_model("models/player/hatsune_miku.mdl"
to this
PHP Code:
precache_model("models/player/hatsune_miku/hatsune_miku.mdl"
__________________
Shiina.Mashiro is offline
Basakot
Junior Member
Join Date: Jan 2015
Location: Resita, Romania
Old 01-19-2015 , 14:17   Re: VIP Model
Reply With Quote #6

Quote:
Originally Posted by Shiina.Mashiro View Post
I think you need to change this
PHP Code:
precache_model("models/player/hatsune_miku.mdl"
to this
PHP Code:
precache_model("models/player/hatsune_miku/hatsune_miku.mdl"
Yep, works , thx guys!
Basakot is offline
Send a message via Skype™ to Basakot
Eviatar Mor
Senior Member
Join Date: Jun 2014
Location: israel
Old 01-20-2015 , 11:14   Re: VIP Model
Reply With Quote #7

good, enjoy
Eviatar Mor is offline
Adomaz1
Senior Member
Join Date: Feb 2014
Old 01-22-2015 , 13:02   Re: VIP Model
Reply With Quote #8

it doesnt work for me.. it doesnt show my skin, idk even what it is showing

It says that I need to debug the cs_user_model..(added debug near the plugins name at plugins.ini) and now the errors camed up:

[CSTRIKE] Invalid player 1
L 01/22/2015 - 21:08:53: [AMXX] Displaying debug trace (plugin "amx_adminmodel.amxx")
L 01/22/2015 - 21:08:53: [AMXX] Run time error 10: native error (native "cs_set_user_model")
L 01/22/2015 - 21:08:53: [AMXX] [0] amx_adminmodel.sma::player_spawn (line 14)

Last edited by Adomaz1; 01-22-2015 at 14:11.
Adomaz1 is offline
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 01-22-2015 , 13:52   Re: VIP Model
Reply With Quote #9

Did you download the correct skin, put it in the right folder, and use the correct path?
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
Adomaz1
Senior Member
Join Date: Feb 2014
Old 01-22-2015 , 14:03   Re: VIP Model
Reply With Quote #10

I changed my skin to vip.mdl and added it to vip/vip.mdl and changed in the plugin the directory to /vip/vip.mdl, the user model was changed to vip t, but it shows the skin that I dont need, I add other skin, annd it shows the same as before.. The flag is t and I have it, idk what to do..

It says that I need to debug the cs_user_model..(added debug near the plugins name at plugins.ini) and now the errors camed up:

[CSTRIKE] Invalid player 1
L 01/22/2015 - 21:08:53: [AMXX] Displaying debug trace (plugin "amx_adminmodel.amxx")
L 01/22/2015 - 21:08:53: [AMXX] Run time error 10: native error (native "cs_set_user_model")
L 01/22/2015 - 21:08:53: [AMXX] [0] amx_adminmodel.sma::player_spawn (line 14)

Last edited by Adomaz1; 01-22-2015 at 14:11.
Adomaz1 is offline
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 22:23.


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