Existing user? Sign in
Sign up
Games
Servers
Useful
User
Pass
2FA
[rezolvat]Cerere Plugin Give_ap
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Plugins - Help / Support
Author
Message
1177
BooTz
[Account disabled]
Status: Offline
(since 29-08-2014 21:12)
Joined: 05 May 2013
Posts: 1592
,
Topics: 198
Location:
Romania
Reputation:
32.1
Votes
: 87
Posted: 14-08-2014, 13:56:18
| Translate post to:
... (
Click for more languages
)
Salut FreakZ.
Asi dori un plugin give_ap pentru un server zombie cu ammo .
Acest plugin asi dori sa pot da mai mult de 999 . Si sa functioneze .
@ edutz , @ Happy =]] , @ P!C@
Spoiler:
Femeia
este mancare pentru
zei
,gatita de
diavoli.
0
0
Back to top
lemonEZAH
[Licensed to kill]
Status: Offline
(since 04-11-2019 15:30)
Joined: 28 Dec 2013
Posts: 7058
,
Topics: 351
Location:
England
Reputation:
99.3
Votes
: 483
Posted: 14-08-2014, 14:54:49
| Translate post to:
... (
Click for more languages
)
Spoiler:
#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;
}
0
0
Back to top
BooTz
[Account disabled]
Status: Offline
(since 29-08-2014 21:12)
Joined: 05 May 2013
Posts: 1592
,
Topics: 198
Location:
Romania
Reputation:
32.1
Votes
: 87
Posted: 14-08-2014, 16:15:03
| Translate post to:
... (
Click for more languages
)
@ VAly nu merge . Asta l-am incercat.
Spoiler:
Femeia
este mancare pentru
zei
,gatita de
diavoli.
0
0
Back to top
lemonEZAH
[Licensed to kill]
Status: Offline
(since 04-11-2019 15:30)
Joined: 28 Dec 2013
Posts: 7058
,
Topics: 351
Location:
England
Reputation:
99.3
Votes
: 483
Posted: 14-08-2014, 16:21:23
| Translate post to:
... (
Click for more languages
)
Trebuie sa acces RCON.
0
0
Back to top
BooTz
[Account disabled]
Status: Offline
(since 29-08-2014 21:12)
Joined: 05 May 2013
Posts: 1592
,
Topics: 198
Location:
Romania
Reputation:
32.1
Votes
: 87
Posted: 15-08-2014, 13:10:07
| Translate post to:
... (
Click for more languages
)
Vreau sa imi modificati acest plugin sa pot da mai mult de 999 ammo .
Code:
#include <amxmodx>
#include <amxmisc>
#include <zombieplague>
public plugin_init ()
{
register_plugin ( "ZP: Give Ammo", "1.0.0", "Armin" );
register_clcmd ( "giveap", "CmdGiveAP", ADMIN_RCON, "- giveap <nume> <cantitatea> : Da Amoo 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, "[ZP] Jucatorul nu a fost gasit " );
return PLUGIN_HANDLED;
}
zp_set_user_ammo_packs ( i_Target, max ( 1, str_to_num ( s_Amount ) ) );
return PLUGIN_HANDLED;
}
Spoiler:
Femeia
este mancare pentru
zei
,gatita de
diavoli.
0
0
Back to top
GoguSM
[.: ZMGO.FREAKZ.RO :.]
Status: Offline
(since 16-03-2022 00:38)
Joined: 24 Aug 2013
Posts: 1516
,
Topics: 71
Location:
Brasov
Reputation:
1144
Votes
: 95
Posted: 15-08-2014, 13:46:59
| Translate post to:
... (
Click for more languages
)
Incearca asta eu il am si pot sa dau cat vreau eu
Code:
#include <amxmodx>
#include <amxmisc>
#include <zombieplague>
public plugin_init ()
{
register_plugin ( "ZP: AMMOPACK", "2.0.1.4", "CeroCooL" );
register_clcmd ( "zp_ammopack", "CmdGiveAP", ADMIN_RCON, "- zp_ammopack <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[ 12 ];
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;
}
0
0
Back to top
BooTz
[Account disabled]
Status: Offline
(since 29-08-2014 21:12)
Joined: 05 May 2013
Posts: 1592
,
Topics: 198
Location:
Romania
Reputation:
32.1
Votes
: 87
Posted: 18-08-2014, 07:23:39
| Translate post to:
... (
Click for more languages
)
Merge . Merci TheVipera .
@ edutz poti da T/C .
Spoiler:
Femeia
este mancare pentru
zei
,gatita de
diavoli.
0
0
Back to top
Topic locked
Topic is closed, you cannot post any messages in it anymore
Locked by
-P!C@-
, 18 August 2014 06:25
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Plugins - Help / Support
The time now is 28-04-2024, 14:21:14
Copyright info
Based on phpBB
ro
/
com
B
Login
I forgot my password
World of Warcraft
Login for more...
Download WoW 7.3.5
Misc
eSports
Achievements
Buy reputation with votes
Reputation trades
Forum rules
Ban list
Members list
User guide (FAQ)
World of Warcraft
View details