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

Admin Models (Updated v1.1.1)


Post New Thread Reply   
 
Thread Tools Display Modes
alimontanaaa
New Member
Join Date: Jan 2010
Old 01-22-2010 , 17:51   Re: Admin Models (Updated v1.1.1)
Reply With Quote #561

Quote:
Originally Posted by Bend3R View Post
very great job you stole my ide i think make this when my computer is fixed
Ka0s

I can't see my models im my server, Why?!
alimontanaaa is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 01-27-2010 , 08:27   Re: Admin Models (Updated v1.1.1)
Reply With Quote #562

Just to be sure i got it right, no cvars and nothing at all, just add the amxx?
The Art of War is offline
mehmetali
Senior Member
Join Date: Jan 2010
Location: Turkey
Old 01-30-2010 , 11:10   Re: Admin Models (Updated v1.1.1)
Reply With Quote #563

Hi.

How do all players get skin ? (admin and normal users)
mehmetali is offline
twixX
New Member
Join Date: Feb 2010
Old 02-04-2010 , 08:18   Re: Admin Models (Updated v1.1.1)
Reply With Quote #564

I'm a noob when it comes to plugin installing, however I know a bit about it. And this doesn't work for me.

I've done exactly what you said here in the thread. Please help me. I can't see the admin models when I play.
twixX is offline
perunapirjo
Junior Member
Join Date: Feb 2010
Old 02-07-2010 , 11:23   Re: Admin Models (Updated v1.1.1)
Reply With Quote #565

where do i put the Pictures and Player folders?!
perunapirjo is offline
perunapirjo
Junior Member
Join Date: Feb 2010
Old 02-07-2010 , 11:33   Re: Admin Models (Updated v1.1.1)
Reply With Quote #566

i did put the folders in Counter-Strike\cstrike_finnish\models but nothing happpened
perunapirjo is offline
Sc4RrRy
New Member
Join Date: Feb 2010
Old 02-09-2010 , 09:23   Re: Admin Models (Updated v1.1.1)
Reply With Quote #567

:< it doesn´t work on my server. when i start my server and join the game....nothing...i have normal CT urban model...when i typed amx_plugins 21 into console and found amx_adminmodel.amxx next to it was bad load

-----------------------------------
amx_adminmodel.amxx Unknown Unknown Bad load

Last edited by Sc4RrRy; 02-10-2010 at 09:51.
Sc4RrRy is offline
Send a message via ICQ to Sc4RrRy Send a message via Skype™ to Sc4RrRy
nuked
Member
Join Date: Oct 2009
Old 02-15-2010 , 20:57   Re: Admin Models (Updated v1.1.1)
Reply With Quote #568

Quote:
Originally Posted by AgentStrike View Post
well good job you put those screenshots but i can't see the models trough that link
Try downloading the zip file..... It contains the screenshots
nuked is offline
Send a message via ICQ to nuked Send a message via MSN to nuked
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-16-2010 , 01:15   Re: Admin Models (Updated v1.1.1)
Reply With Quote #569

I request this plugin to be unapproved.

Yes it has been downloaded thousand times, but there are some (minor) errors in the code that shouldn't be followed by learning scripters, and also models are hardcoded and that is against forum rules (i know that this plugin should have been released long time before that rule has been made).

Well, the plugin is not unsafe to use but it's a really bad example for learning scripters, and i sometimes see people who link that plugin for people who learn scripting.
Also, there are now few plugins that can do the same job and without hardcoded models.

Code:
#include <amxmodx> #include <amxmisc> #include <cstrike> public plugin_init() {         register_plugin("AMX Admin Model", "1.1.1", "whitemike")
        register_event("ResetHUD", "resetModel", "b") // ResetHUD shouldn't be a place to set models
        return PLUGIN_CONTINUE // This return shouldn't exist
} public plugin_precache() {
        precache_model("models/player/admin_ct/admin_ct.mdl") // hardcoded model
        precache_model("models/player/admin_te/admin_te.mdl") // hardcoded model
        return PLUGIN_CONTINUE // This return shouldn't exist
}
public resetModel(id, level, cid) { // level and cid have no reason to be here, have no effect and may confuse scripters
        if (get_user_flags(id) & ADMIN_KICK) {
                new CsTeams:userTeam = cs_get_user_team(id) // switch statement would be more appropriated
                if (userTeam == CS_TEAM_T) {
                        cs_set_user_model(id, "admin_te") // hardcoded model
                }                 else if(userTeam == CS_TEAM_CT) {
                        cs_set_user_model(id, "admin_ct") // hardcoded model
                }                 else {                         cs_reset_user_model(id)                 }         }
        return PLUGIN_CONTINUE // again a return with no effect
}
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 02-16-2010 at 01:22.
ConnorMcLeod is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-16-2010 , 02:43   Re: Admin Models (Updated v1.1.1)
Reply With Quote #570

Quote:
Originally Posted by ConnorMcLeod View Post
I request this plugin to be unapproved.

Yes it has been downloaded thousand times, but there are some (minor) errors in the code that shouldn't be followed by learning scripters, and also models are hardcoded and that is against forum rules (i know that this plugin should have been released long time before that rule has been made).

Well, the plugin is not unsafe to use but it's a really bad example for learning scripters, and i sometimes see people who link that plugin for people who learn scripting.
Also, there are now few plugins that can do the same job and without hardcoded models.
I agree.

Unapproved.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 17:49.


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