This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Broertjes Admin Models


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
broertje
Senior Member
Join Date: Mar 2005
Old 10-23-2005 , 11:42   Broertjes Admin Models
Reply With Quote #1

I Can Try Atleast,Because I Have 0 Plugin Submissions...
First I Dont Wanted To Add Because This Is Already Been Created I Think And Its Not Such A Big Plugin But Well Here It Is:

Say /modelmenu In Game To Get A Menu Where You Can Choose A Model(Only For Admins)
Code:
#include <amxmodx> #include <amxmisc> #include <cstrike> #define PLUGIN "Broertjes Admin Models" #define VERSION "1.0" #define AUTHOR "Broertje" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)         register_clcmd("say /modelmenu", "sayMM", ADMIN_KICK, "- Show Menu With Models For Admins.")          register_menucmd(register_menuid("MODEL_MENU"),1023,"giveStuff"); } public plugin_precache()       {     precache_model("models/player/wolverine/wolverine.mdl")     precache_model("models/player/homer1/homer1.mdl")     precache_model("models/player/jesus/jesus.mdl")     precache_model("models/player/gs/gs.mdl")     precache_model("models/player/aquafresh/aquafresh.mdl")     precache_model("models/player/blastoise/blastoise.mdl")     precache_model("models/player/stickman/stickman.mdl")     precache_model("models/player/clankiller/clankiller.mdl")     precache_model("models/player/skeleton/skeleton.mdl") } public sayMM(id) {     new menu[192]     new keys = (1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)|(1<<7)|(1<<8)|(1<<9)           format(menu, 191, "\yModels:^n\w^n1. Wolverine^n2. Homer^n3. Jesus^n4. Alien^n5. AquaFresh^n6. Blastoise^n7. StickMan^n8. ClanKiler^n9. Skeleton")     show_menu(id, keys, menu, -1, "MODEL_MENU")       return PLUGIN_HANDLED } public giveStuff(id, key) {     switch(key)     {         case 0:           {             cs_set_user_model(id, "wolverine")         }         case 1:           {             cs_set_user_model(id, "homer1")         }     case 2:           {             cs_set_user_model(id, "jesus")         }         case 3:           {             cs_set_user_model(id, "gs")         }          case 4:           {             cs_set_user_model(id, "aquafresh")         }     case 5:           {             cs_set_user_model(id, "blastoise")         }         case 6:           {             cs_set_user_model(id, "stickman")         }     case 7:           {             cs_set_user_model(id, "clankiller")         }         case 8:           {             cs_set_user_model(id, "skeleton")         }             }     return PLUGIN_HANDLED;    }
Attached Files
File Type: zip all_models___folders.zip (1.45 MB, 494 views)
File Type: sma Get Plugin or Get Source (broertjesadminmodels.sma - 1228 views - 2.2 KB)
broertje is offline
atomic
Veteran Member
Join Date: Jan 2005
Location: What The Foot?
Old 10-23-2005 , 11:58  
Reply With Quote #2

add the .sma please

Code:
   register_clcmd("say /modelmenu", "sayMM", ADMIN_ALL, "- Show Menu With Models For Admins.")

ADMIN_ALL is for all players...change this to ADMIN_KICK(or something else)
__________________
atomic is offline
DarlD
Senior Member
Join Date: Aug 2004
Old 10-23-2005 , 12:18  
Reply With Quote #3

REMOVED
__________________
DarlD is offline
Send a message via MSN to DarlD
broertje
Senior Member
Join Date: Mar 2005
Old 10-23-2005 , 14:57  
Reply With Quote #4

*UPDATED*
Changed ADMIN_ALL To ADMIN_KICK ... Thx For Notice,
Sma File Is Added In First Post
broertje is offline
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 10-23-2005 , 14:59  
Reply With Quote #5

Good Idea, I will try this on my server next time I get a chance.

One question, does it change the model for everyone?
__________________
What's my confidence level? I do crossword puzzles with a pen.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
broertje
Senior Member
Join Date: Mar 2005
Old 10-23-2005 , 15:02  
Reply With Quote #6

Only For Yourself
broertje is offline
eFrigid
Senior Member
Join Date: Aug 2005
Location: 3o3
Old 10-23-2005 , 15:37  
Reply With Quote #7

Got any screen shots?
__________________
lol
eFrigid is offline
Send a message via AIM to eFrigid Send a message via MSN to eFrigid Send a message via Skype™ to eFrigid
broertje
Senior Member
Join Date: Mar 2005
Old 10-23-2005 , 16:00  
Reply With Quote #8

Can't Take Them,3rd Person Is Not Working Good...
broertje is offline
forbiddenct
Junior Member
Join Date: Oct 2005
Location: tampines
Old 11-06-2005 , 02:13  
Reply With Quote #9

i hate such plugins. many people hate to wait for the download. can u change it by picking models from half life so ppl dun need to download.
__________________
-=][NightKids][=- UWC3 Server
www.nightkids.bravehost.com
forbiddenct is offline
Send a message via MSN to forbiddenct
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 11-06-2005 , 02:56  
Reply With Quote #10

Quote:
Originally Posted by broertje
Can't Take Them,3rd Person Is Not Working Good...
What?

Just have a either a friend join, or kill yourself, OR dl a Model Viewer, open the models, and take a screen.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
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 19:56.


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