Raised This Month: $ Target: $400
 0% 

need /give <name> <amount> ammo pack plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bhatti_rulez_
Member
Join Date: Mar 2014
Old 03-30-2014 , 16:02   need /give <name> <amount> ammo pack plugin
Reply With Quote #1

need /give <name> <amount> ammo pack plugin can some one help me pls
and when some one gives it says
"giver name" has gave "amount of ammo pack" to "the player who the giver sent ammo to"
bhatti_rulez_ is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-30-2014 , 16:10   Re: need /give <name> <amount> ammo pack plugin
Reply With Quote #2

To start you will need to hook the "say" command. Then, each time that executes, you need to analyze the string looking for the /give. If not there, ignore that chat message. If it is there, continue to get the second and third part of the command and process what you need to from there.
__________________
fysiks is offline
bhatti_rulez_
Member
Join Date: Mar 2014
Old 03-30-2014 , 16:33   Re: need /give <name> <amount> ammo pack plugin
Reply With Quote #3

no but i dont know scripting need some one to make it
bhatti_rulez_ is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-30-2014 , 16:35   Re: need /give <name> <amount> ammo pack plugin
Reply With Quote #4

Quote:
Originally Posted by bhatti_rulez_ View Post
no but i dont know scripting need some one to make it
Then why post in Scripting Help? Moved to Requests
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-30-2014 , 16:35   Re: need /give <name> <amount> ammo pack plugin
Reply With Quote #5

The Scripting Help forum is for people who are trying to write plugins on their own. For requests, post in the Suggestions/Requests forum.
__________________
fysiks is offline
bhatti_rulez_
Member
Join Date: Mar 2014
Old 03-30-2014 , 16:51   Re: need /give <name> <amount> ammo pack plugin
Reply With Quote #6

ok sorry
bhatti_rulez_ is offline
Mentors
Member
Join Date: Dec 2009
Old 04-02-2014 , 13:30   Re: need /give <name> <amount> ammo pack plugin
Reply With Quote #7

https://forums.alliedmods.net/showth...24078?t=124078
Mentors is offline
FN_Productions
Member
Join Date: Mar 2014
Old 04-02-2014 , 17:43   Re: need /give <name> <amount> ammo pack plugin
Reply With Quote #8

hello if you would like you can use this version i edited my self
but all credits go to @bdul! for creating this plugin and some credits to me for editing it just a little to the way i like it but im shure and hope this is what your are looking for also enjoy

Last edited by FN_Productions; 02-09-2015 at 20:39.
FN_Productions is offline
Send a message via Skype™ to FN_Productions
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 01:16.


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