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

Custom Model Menu, and admin model changing


Post New Thread Reply   
 
Thread Tools Display Modes
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 07-29-2005 , 18:12  
Reply With Quote #21

k, ummmm, is there a plugin that instead of adding custom player models, it adds custom weapon models? I'm a noob who great sux at coding. There are a few models on amxx that i liked and used (chucky knife, dual mp5's), but there are other ones i'd like to use as well (for everyone in server, not just one client).
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
mackaveli
Junior Member
Join Date: Jun 2005
Location: N.C.
Old 09-24-2005 , 03:40   NEED HELP !!
Reply With Quote #22

ok
i have this plugin on my cz server . players precache the models (have cs_ummz) and this plugin shows in amdmodmenu as on but none of the commands work and i have full admin
plz help ?
Mackaveli
__________________
there are no stupid questions, only stupid people
mackaveli is offline
Send a message via AIM to mackaveli Send a message via MSN to mackaveli
mackaveli
Junior Member
Join Date: Jun 2005
Location: N.C.
Old 09-25-2005 , 18:59   download
Reply With Quote #23

i have a url for dling maps there a way to make them dl from there and not the server ?
__________________
there are no stupid questions, only stupid people
mackaveli is offline
Send a message via AIM to mackaveli Send a message via MSN to mackaveli
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 11-18-2005 , 11:41  
Reply With Quote #24

I've try this now, but amx_plugins results in:

unknown unknown unknown modelset.amxx bad load

Some suggestions ?
[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR
bobbyjohn
Junior Member
Join Date: Dec 2005
Old 12-22-2005 , 10:04  
Reply With Quote #25

and guy with bad load i bet you don't have right modules.


Quote:
TODO:
*Enable weapon stripping/giving
How about asking someone like Mattcook if oyu could *STRIP* off some code for weapon sripping, and the code for weapon disarming not strip is here,
Code:
disarm_player(id,victim){
	
	new name[32], origin[3], name2[32]
	get_user_origin(victim,origin)
	origin[2] -= 2000
	set_user_origin(victim,origin)
	new iweapons[32], wpname[32], inum
	get_user_weapons(victim,iweapons,inum)
	for(new a=0;a<inum;++a){
		get_weaponname(iweapons[a],wpname,31)
		engclient_cmd(victim,"drop",wpname)
	}
	engclient_cmd(victim,"weapon_knife")
	origin[2] += 2005
	set_user_origin(victim,origin)
	get_user_name(victim,name,31)
	console_print(id,"[AMXX] Client ^"%s^" has been disarmed",name)
	get_user_name(id,name2,31)
	log_amx("ADMIN DISARM - this command was issued by %s. Admin has disarmed %s",name2,name)
}

public admin_disarm(id,level,cid) {
	if (!cmd_access(id,level,cid,2))
		return PLUGIN_HANDLED
	new arg[32]
	read_argv(1,arg,31)
	if (arg[0]=='@'){
		new players[32], /*name[32],*/ inum
		get_players(players,inum,"ae",arg[1])
		if (inum==0){
			console_print(id,"[AMXX] No alive clients in such team")
			return PLUGIN_HANDLED
		}
		for(new a=0;a<inum;++a){
			disarm_player(id,players[a])
		}
	}
	else {
		new player = cmd_target(id,arg,5)
		if (!player) return PLUGIN_HANDLED
		disarm_player(id,player)
	}
	return PLUGIN_HANDLED
}
and i think that's good, although i asked my friend to code that which took maybe 12 minutes till an e-mail for me. Enjoy!, but i still want credit =( (If you want illl add the code now and give it to you here =)
________________________________________

Remember the code is the light's life of freedom
bobbyjohn is offline
XPi
New Member
Join Date: Dec 2005
Old 12-28-2005 , 15:43  
Reply With Quote #26

I need some help please.

Well, I make this:

1. I download this plugin
2. I put modelset.sma into /addons/amxmodx/scripting/
3. I execute the plugin into my server (I see with amx_plugin that is running)
4. I put into /models/player/admin_ct/ the model that I want load (his name is admin_ct.mdl)
5. I config the model.cfg file with this line: "admin_ct" "" "abcdefghijklmnopqrstuvwxyz" "144" "98" "16000" "-1" "-1" "1"
6. I restart the server, I have all admin access

Now, if I say into the server amx_modelmenu or amx_setmodel this not make nothing, any error, any message, nothing.

I test saying /amx_modelmenu and typing amx_modelmenu in console, and say Command not found.

¿Whats happend? ¿Can you help me please?

Thanks.
XPi is offline
Waylay
Member
Join Date: Feb 2006
Old 06-27-2006 , 13:27   Re: Custom Model Menu, and admin model changing
Reply With Quote #27

I would recomend a menu instead, like writing menu in chat so players can choose from a .txt file with a list of name and players has to have the models, no download, just a list;)
Waylay is offline
Send a message via MSN to Waylay
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:32.


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