Raised This Month: $ Target: $400
 0% 

Admin Models (Updated v1.1.1)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BustedRider
Senior Member
Join Date: Dec 2008
Location: Canada/QC
Old 12-10-2008 , 16:05   Re: Admin Models (Updated v1.1.1)
Reply With Quote #1

Hi i got hide and seek plugin

and its random choosing which guys... leet artic and w.e...

how i can force to choose admin model when ppl are admin
BustedRider is offline
AgentStrike
Junior Member
Join Date: Mar 2008
Old 12-10-2008 , 19:06   Re: Admin Models (Updated v1.1.1)
Reply With Quote #2

well good job you put those screenshots but i can't see the models trough that link
AgentStrike is offline
OSM
Junior Member
Join Date: Sep 2009
Old 09-06-2009 , 09:30   Re: Admin Models (Updated v1.1.1)
Reply With Quote #3

Hi all, this plugin is not working in my server, i dont get any error message, but i don't get the admin model too, everything is in place, but i dont know why it's not working
OSM is offline
nuked
Member
Join Date: Oct 2009
Old 02-15-2010 , 20:57   Re: Admin Models (Updated v1.1.1)
Reply With Quote #4

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 #5

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 #6

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
alekoooooo
Member
Join Date: Feb 2009
Old 02-13-2009 , 08:13   Re: Admin Models (Updated v1.1.1)
Reply With Quote #7

This is my version of this plugin. Whit this plugin on your server admin models will be santa!
Attached Files
File Type: sma Get Plugin or Get Source (amx_santa_adminmodel.sma - 1491 views - 1.2 KB)
File Type: rar models.rar (2.72 MB, 785 views)
alekoooooo is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 03-25-2009 , 08:29   Re: Admin Models (Updated v1.1.1)
Reply With Quote #8

Quote:
Originally Posted by alekoooooo View Post
This is my version of this plugin. Whit this plugin on your server admin models will be santa!

Cool, one suggestion,

Use CT ADMIN and T ADMIN texts at the back

I also got new admin models, but they are HALO skinned
__________________

Last edited by crazyeffect; 03-25-2009 at 12:15.
crazyeffect is offline
Send a message via MSN to crazyeffect
Sp1nn3y
Member
Join Date: Jan 2009
Location: Acworth, Georgia
Old 03-24-2009 , 17:07   Re: Admin Models (Updated v1.1.1)
Reply With Quote #9

so ANYONE with flags gets this? or immunity? or how exactly is this?
__________________
Head in the World-of-Frags.com Servers/Community
New tf2 servers up! still got our awesome cs 1.6 wc3ft[custom] servers as well
Sp1nn3y is offline
Send a message via AIM to Sp1nn3y
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 03-24-2009 , 17:13   Re: Admin Models (Updated v1.1.1)
Reply With Quote #10

Code:
        if (get_user_flags(id) & ADMIN_KICK) {
I'd guess that it's 'c' flag.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
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 10:58.


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