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

need a little help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
max42
Member
Join Date: Nov 2009
Old 11-25-2010 , 10:54   need a little help
Reply With Quote #1

hi guys

i run a plugin on my server that allows you to have extra sandman balls and jarates

i want to be able to have extra mad milk as well but just add it to the existing script

i have figure out that the following cmds are used to create the extra balls/jars but dont know enough about scripting to make it work with madmilk

if(cJarates > 1)
SetGrenadeAmmo(client, cJarates, 58, 1);
if(cStunballs > 1)
SetGrenadeAmmo(client, cStunballs, 44, 2);

im guessing the numbers at the end relate to the item and the slot loadout of each cmd

any ideas what it would be for madmilk ?

thanks
Max42
max42 is offline
max42
Member
Join Date: Nov 2009
Old 11-26-2010 , 04:00   Re: need a little help
Reply With Quote #2

any1 able to help?
max42 is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 11-26-2010 , 05:20   Re: need a little help
Reply With Quote #3

Which plugin is it?
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
max42
Member
Join Date: Nov 2009
Old 11-26-2010 , 10:45   Re: need a little help
Reply With Quote #4

hi Sillium

the plugin is noodleboy347's premium mod plugin
http://forums.alliedmods.net/showthread.php?t=122186

thanks
max42 is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 11-29-2010 , 01:41   Re: need a little help
Reply With Quote #5

If I'm right... the guy here was doing the same thing: https://forums.alliedmods.net/showthread.php?p=1351026

Read the thread till the end... I think there is a version that will fit your needs :-) Or at least where you can look how to do it with milk
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
max42
Member
Join Date: Nov 2009
Old 11-29-2010 , 09:12   Re: need a little help
Reply With Quote #6

Thanks Sillium

that link helped me work out what i needed to do

if(cStunballs > 1)
SetGrenadeAmmo(client, cStunballs, 222, 1);

this works for mad milk with premium mod

222 is the weapon identifier and 1 is the slot load out

cheers
max42 is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 11-30-2010 , 01:05   Re: need a little help
Reply With Quote #7

Great to hear that :-)
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium 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 18:04.


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