Existing user? Sign in
Sign up
Games
Servers
Useful
User
Pass
2FA
Cerere comanda
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Counter-Strike: Help zone
Author
Message
1151
Freakz*DuLceTeL
[S3X*p3rMaN3nTy; x ]
Status: Offline
(since 09-04-2022 10:29)
Joined: 27 Jun 2015
Posts: 15862
,
Topics: 2099
Location:
TG-Mures
Reputation:
964.9
Votes
: 668
Posted: 26-05-2016, 15:24:52
| Translate post to:
... (
Click for more languages
)
Vreau si eu o comanda.. de dat amoo amx_giveap nume suma.. am gasit si eu pe net dar nu depaseste suma de 999 ..
0
0
Back to top
-P!C@-
[Simply Normal]
Status: Offline
(since 21-04-2022 19:07)
Joined: 28 May 2012
Posts: 21086
,
Topics: 1601
Location:
Constanta
Reputation:
1870.3
Votes
: 781
Posted: 26-05-2016, 18:52:42
| Translate post to:
... (
Click for more languages
)
Uita-te aici:
https://forum.wow-freakz.com/Cerere-plugin-dat-ammo-t404768.html
0
0
Back to top
Freakz*DuLceTeL
[S3X*p3rMaN3nTy; x ]
Status: Offline
(since 09-04-2022 10:29)
Joined: 27 Jun 2015
Posts: 15862
,
Topics: 2099
Location:
TG-Mures
Reputation:
964.9
Votes
: 668
Posted: 26-05-2016, 19:33:44
| Translate post to:
... (
Click for more languages
)
Link-ul a expirat.
0
0
Back to top
-P!C@-
[Simply Normal]
Status: Offline
(since 21-04-2022 19:07)
Joined: 28 May 2012
Posts: 21086
,
Topics: 1601
Location:
Constanta
Reputation:
1870.3
Votes
: 781
Posted: 26-05-2016, 19:51:22
| Translate post to:
... (
Click for more languages
)
Maxim 99999:
Quote:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <zombieplague>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Hades"
// Credits: Aragon*
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("zp_giveap", "give_ap", ADMIN_RCON, "<name/@All> <ammo>");
}
public give_ap(id, level, cid) {
new arg[23], gplayers[32], num, i, players, name[32];
get_user_name(id, name, 31);
read_argv(1, arg, 23);
new give_ammop[10];
read_argv(2, give_ammop, charsmax(give_ammop));
new Ammo = str_to_num(give_ammop);
if(equali(arg, "@All")) {
get_players(gplayers, num, "ch");
for(i = 0; i < num; i++) {
players = gplayers[i];
if(!is_user_connected(players))
continue;
zp_set_user_ammo_packs ( players, zp_get_user_ammo_packs ( players ) + Ammo );
}
}
new player = cmd_target(id, arg, 11);
if(!player) {
console_print(id, "Juctorul cu acel nume nu exista.");
}
else {
zp_set_user_ammo_packs ( player, zp_get_user_ammo_packs ( player ) + Ammo );
}
return 1;
0
0
Back to top
Freakz*DuLceTeL
[S3X*p3rMaN3nTy; x ]
Status: Offline
(since 09-04-2022 10:29)
Joined: 27 Jun 2015
Posts: 15862
,
Topics: 2099
Location:
TG-Mures
Reputation:
964.9
Votes
: 668
Posted: 26-05-2016, 20:05:22
| Translate post to:
... (
Click for more languages
)
AMX Mod X Compiler 1.8.3-manual
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team
Modified for
http://www.Freakz.ro
/ amx.freakz.ro
comanda.sma(1) : error 010: invalid function or declaration
comanda.sma(46) : error 001: expected token: "}", but found "-end of file-"
2 Errors.
Compilarea a esuat!
da erroare la compilare.
0
0
Back to top
-P!C@-
[Simply Normal]
Status: Offline
(since 21-04-2022 19:07)
Joined: 28 May 2012
Posts: 21086
,
Topics: 1601
Location:
Constanta
Reputation:
1870.3
Votes
: 781
Posted: 26-05-2016, 20:34:30
| Translate post to:
... (
Click for more languages
)
Aici:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <zombieplague>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Hades"
// Credits: Aragon*
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("zp_giveap", "give_ap", ADMIN_RCON, "<name/@All> <ammo>");
}
public give_ap(id, level, cid) {
new arg[23], gplayers[32], num, i, players, name[32];
get_user_name(id, name, 31);
read_argv(1, arg, 23);
new give_ammop[10];
read_argv(2, give_ammop, charsmax(give_ammop));
new Ammo = str_to_num(give_ammop);
if(equali(arg, "@All")) {
get_players(gplayers, num, "ch");
for(i = 0; i < num; i++) {
players = gplayers[i];
if(!is_user_connected(players))
continue;
zp_set_user_ammo_packs ( players, zp_get_user_ammo_packs ( players ) + Ammo );
}
}
new player = cmd_target(id, arg, 11);
if(!player) {
console_print(id, "Juctorul cu acel nume nu exista.");
}
else {
zp_set_user_ammo_packs ( player, zp_get_user_ammo_packs ( player ) + Ammo );
}
return 1;
}
0
0
Back to top
Topic locked
Topic is closed, you cannot post any messages in it anymore
Locked by
destroi112
, 16 July 2016 04:57
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Counter-Strike: Help zone
The time now is 10-01-2025, 23:43:34
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