Raised This Month: $ Target: $400
 0% 

[request] More than one knife


Post New Thread Reply   
 
Thread Tools Display Modes
human_Torch
Senior Member
Join Date: Dec 2009
Location: Serbia
Old 05-22-2010 , 08:53   Re: [request] More than one knife
Reply With Quote #11

Tnx you very much,can wait to try ))
human_Torch is offline
Send a message via MSN to human_Torch Send a message via Skype™ to human_Torch
KiWigamez0r
Junior Member
Join Date: Aug 2009
Old 05-22-2010 , 10:01   Re: [request] More than one knife
Reply With Quote #12

I have added that option for you human_Torch, now you can set mkm_quickswitch 2 so that users can only switch between a secondary knife (chosen in the menu /knives) and the default knife. Please recompile my original post (I edited it) and try it out. Let me know if you find any errors/bugs . Also, when you re-tested it, did it still crash?

With regards to the errors arising from mkm_mode 2, I am still stumped as to exactly what is causing the issue, but I believe it to be coming from this section of the code:
Code:
        if ( get_cvar_num("mkm_mode") == 2 )
	{
		new randNum = random_num(1,6);
		if ( randNum == 1 )
		{
			giveFish(id);
		} 
		else if ( randNum == 2 ) 
		{
			giveBlood(id);			
		} 
		else if ( randNum == 3 ) 
		{
			giveSor(id);
		}
		else if ( randNum == 4 )
		{
			giveWolv(id);
		}
		else if ( randNum == 5 )
		{
			giveWood(id);
		}
		else if ( randNum == 6 )
		{
			giveDefault(id);
		}
	}
For whatever reason, that seems to overflow the user and/or the number of entities on the server (FATAL ERROR (shutting down): ED_Alloc: no free edicts) when it is called on "resetHUD". I'm not sure if this is simply a personal issue with my server or if this error would occur with anyone else. Any more experienced coders who are able to shine some light on this are greatly appreciated .
KiWigamez0r is offline
FlyingHorse
Senior Member
Join Date: Apr 2010
Location: Under your bed.
Old 05-22-2010 , 10:14   Re: [request] More than one knife
Reply With Quote #13

Oh my god.. why do you want to copy my run? wakeup.. u want everything that my run has.. the threads u started are all about that
FlyingHorse is offline
Send a message via Skype™ to FlyingHorse
human_Torch
Senior Member
Join Date: Dec 2009
Location: Serbia
Old 05-22-2010 , 10:40   Re: [request] More than one knife
Reply With Quote #14

WTF xD
human_Torch is offline
Send a message via MSN to human_Torch Send a message via Skype™ to human_Torch
human_Torch
Senior Member
Join Date: Dec 2009
Location: Serbia
Old 05-22-2010 , 11:33   Re: [request] More than one knife
Reply With Quote #15

Can you edit this plugin for me ,so you only have to press G no other functions like /knives or random spawn and only to have one model ??

Last edited by human_Torch; 05-22-2010 at 12:18.
human_Torch is offline
Send a message via MSN to human_Torch Send a message via Skype™ to human_Torch
FlyingHorse
Senior Member
Join Date: Apr 2010
Location: Under your bed.
Old 05-22-2010 , 11:46   Re: [request] More than one knife
Reply With Quote #16

Human torch.. This is exactly what my run have? Why don't you think of something more special and unique instead of copying another clan
FlyingHorse is offline
Send a message via Skype™ to FlyingHorse
human_Torch
Senior Member
Join Date: Dec 2009
Location: Serbia
Old 05-22-2010 , 11:54   Re: [request] More than one knife
Reply With Quote #17

I didnt even know you have a server....
human_Torch is offline
Send a message via MSN to human_Torch Send a message via Skype™ to human_Torch
FlyingHorse
Senior Member
Join Date: Apr 2010
Location: Under your bed.
Old 05-22-2010 , 11:59   Re: [request] More than one knife
Reply With Quote #18

Didnt say i had a server.. talking about the clan mY.RuN ... they have exactly what ur talking about.. u press g and u switch between 2 knifes.. this my run deathrun server have
FlyingHorse is offline
Send a message via Skype™ to FlyingHorse
human_Torch
Senior Member
Join Date: Dec 2009
Location: Serbia
Old 05-22-2010 , 12:12   Re: [request] More than one knife
Reply With Quote #19

didnt know, this idea come to my mind :S
human_Torch is offline
Send a message via MSN to human_Torch Send a message via Skype™ to human_Torch
KiWigamez0r
Junior Member
Join Date: Aug 2009
Old 05-22-2010 , 19:36   Re: [request] More than one knife
Reply With Quote #20

With the quickswitch 2 option I added, players are able to use the /knives menu just once in order to select a secondary knife. After that they can only change between that knife and the default knife for the round. When they have selected their secondary knife, they are no longer able to use the menu for the rest of that round.
KiWigamez0r 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 14:52.


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