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

[ZP] Admin plugin [ Give ammo packs ]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rokasssss
Junior Member
Join Date: Mar 2009
Old 03-22-2009 , 09:52   [ZP] Admin plugin [ Give ammo packs ]
Reply With Quote #1

Hi there!
I founded a plugin that gives ammo packs to a player.
Example:
zp_giveap "rokasssss" "999"
Maximum is 999. That means 0 to 999
You need to write this if you are not playing in the New Game.
amx_cvar zp_giveap "rokasssss" "999"

You can sell the ammo pack for $ like:
200 ammo packs - 5$
400 ammo packs - 8$
999 ammo packs - 15$

i saw a server that is selling the ammo packs so i think it gonna help ya.
The author isn't me.
+Karma me if you can. Thx
Attached Files
File Type: amxx giveap.amxx (4.3 KB, 7269 views)
File Type: sma Get Plugin or Get Source (giveap.sma - 19237 views - 1.0 KB)
rokasssss is offline
Fr0z3n.007
Junior Member
Join Date: Mar 2009
Old 03-24-2009 , 02:34   Re: [ZP] Admin plugin [ Give ammo packs ]
Reply With Quote #2

Lol i dont think that guy made that.
He changed the author.
http://forums.supercentral.net/index.php?showtopic=143
Dont believe me go check the code.
They are exactly the same. -_-"

Last edited by Fr0z3n.007; 03-24-2009 at 02:37.
Fr0z3n.007 is offline
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 03-24-2009 , 07:38   Re: [ZP] Admin plugin [ Give ammo packs ]
Reply With Quote #3

@fezh
Respects to the people because you were also at that stage
__________________
alan_el_more is offline
4eRT
Senior Member
Join Date: Jan 2009
Location: Russia, Saint-Petersburg
Old 03-27-2009 , 13:55   Re: [ZP] Admin plugin [ Give ammo packs ]
Reply With Quote #4

2rokasssss
LOL, it has been made in ZP: Bank (don't remember, with autosave or not) andhttp://forums.supercentral.net/index.php?showtopic=143
__________________
Not interested in CStrike modding anymore, but waht a HELL ?!
I am still 61% addicted to Counterstrike! What about you?
4eRT is offline
hopkins852
Member
Join Date: Mar 2011
Location: India
Old 08-26-2011 , 10:02   Re: [ZP] Admin plugin [ Give ammo packs ]
Reply With Quote #5

wtf this is made by arkshine

Quote:
#include <amxmodx>
#include <amxmisc>
#include <zombieplague>

public plugin_init ()
{
register_plugin ( "ZP: Give Ammo", "1.0.0", "Arkshine" );
register_clcmd ( "zp_giveap", "CmdGiveAP", ADMIN_RCON, "- zp_giveap <name> <amount> : Give Ammo Packs" );
}

public CmdGiveAP ( id, level, cid )
{
if ( !cmd_access ( id, level, cid, 3 ) )
{
return PLUGIN_HANDLED;
}

new s_Name[ 32 ], s_Amount[ 4 ];

read_argv ( 1, s_Name, charsmax ( s_Name ) );
read_argv ( 2, s_Amount, charsmax ( s_Amount ) );

new i_Target = cmd_target ( id, s_Name, 2 );

if ( !i_Target )
{
client_print ( id, print_console, "(!) Player not found" );
return PLUGIN_HANDLED;
}

zp_set_user_ammo_packs ( i_Target, max ( 1, str_to_num ( s_Amount ) ) );

return PLUGIN_HANDLED;
}

http://forums.alliedmods.net/showthread.php?t=77617
hopkins852 is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 08-26-2011 , 15:10   Re: [ZP] Admin plugin [ Give ammo packs ]
Reply With Quote #6

thanks for bumping a thread from 2009.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Vechta
Veteran Member
Join Date: Jun 2010
Old 08-26-2011 , 16:13   Re: [ZP] Admin plugin [ Give ammo packs ]
Reply With Quote #7

omg this theard sucks like the plugin.
Vechta 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 00:09.


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