Raised This Month: $ Target: $400
 0% 

Solved [HELP]Vip Skin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Restart
Senior Member
Join Date: Nov 2016
Location: Lithuania
Old 04-01-2017 , 19:22   [HELP]Vip Skin
Reply With Quote #1

Hello, why does my vip skin doesn't show?Because i have Umbrella Swarm skin?
Attached Files
File Type: sma Get Plugin or Get Source (amx_adminmodel.sma - 499 views - 3.2 KB)

Last edited by Restart; 04-02-2017 at 17:27.
Restart is offline
Send a message via Skype™ to Restart
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 04-02-2017 , 06:57   Re: [HELP]Vip Skin
Reply With Quote #2

Because that code sucks.
Code:
#include < amxmodx > #include < hamsandwich > new const g_szModel[ ] = "bill" ; #define ADMIN_FLAG ADMIN_KICK public plugin_init( ) {     register_plugin( "Admin Skin", "1.0", "DoNii" ) ;     RegisterHam( Ham_Spawn, "player", "fw_HamSpawnPost", 1 ) ; } public plugin_precache( ) {     new szBuffer[ 64 ] ;     formatex( szBuffer, charsmax( szBuffer ), "models/player/%s/%s.mdl", g_szModel ) ;         precache_model( szBuffer ) ; } public fw_HamSpawnPost( id ) {     if( ! is_user_alive( id ) )     return HAM_IGNORED ;     if( ~ get_user_flags( id ) & ADMIN_FLAG )     return HAM_IGNORED ;     if( get_user_team( id ) != 2 )     return HAM_IGNORED ;     set_user_info( id, "model", g_szModel ) ;         return HAM_IGNORED ; }
__________________
edon1337 is offline
Restart
Senior Member
Join Date: Nov 2016
Location: Lithuania
Old 04-02-2017 , 07:42   Re: [HELP]Vip Skin
Reply With Quote #3

Thanks, i will try
Restart is offline
Send a message via Skype™ to Restart
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 04-02-2017 , 07:52   Re: [HELP]Vip Skin
Reply With Quote #4

no use amx_adminmodel its realise and approved and work perfectly in all mods and in umbrella not work because you need delet T model only and plugin be work for CT ONLY!
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
Restart
Senior Member
Join Date: Nov 2016
Location: Lithuania
Old 04-02-2017 , 07:58   Re: [HELP]Vip Skin
Reply With Quote #5

Not working, i deleted t but it still doesn't work
Restart is offline
Send a message via Skype™ to Restart
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-02-2017 , 10:27   Re: [HELP]Vip Skin
Reply With Quote #6

PHP Code:
new szBuffer64 ] ;
formatexszBuffercharsmaxszBuffer ), "models/player/%s/%s.mdl"g_szModel ) ; 
Missing another g_szModel in the end + 64 isn't enough.
* *
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Restart
Senior Member
Join Date: Nov 2016
Location: Lithuania
Old 04-02-2017 , 10:30   Re: [HELP]Vip Skin
Reply With Quote #7

So what do i do?
Restart is offline
Send a message via Skype™ to Restart
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-02-2017 , 10:35   Re: [HELP]Vip Skin
Reply With Quote #8

Probably add another g_szModel in the end and increase 64 to a bigger number (128 ).
__________________

Last edited by OciXCrom; 04-02-2017 at 10:35.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Restart
Senior Member
Join Date: Nov 2016
Location: Lithuania
Old 04-02-2017 , 11:00   Re: [HELP]Vip Skin
Reply With Quote #9

Error: http://prntscr.com/erj3eo
Restart is offline
Send a message via Skype™ to Restart
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-02-2017 , 11:02   Re: [HELP]Vip Skin
Reply With Quote #10

I'm pretty sure I told you how to fix that 20 minutes ago.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 00:53.


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