RGZ Gaming Forum


 
AcasaUltimele imaginiCăutareÎnregistrareConectare

Distribuiţi|

[Plugin] Quit + SS

Vezi subiectul anterior Vezi subiectul urmator In jos
AutorMesaj
FLEWEENTE
Moderator
FLEWEENTE

Rank: Moderator
Status:
Posturi : 537
Reputatie : 13
Data de Inscriere : 05/08/2014
Oras : ORAS RGZ
Varsta : 27
[Plugin] Quit + SS Empty
MesajSubiect: [Plugin] Quit + SS [Plugin] Quit + SS EmptyJoi Aug 14, 2014 5:21 pm

Descriere: quit + ss..
Descarcare:[/color
]
#include
#include

public plugin_init() {
register_plugin("Comenzi Utile", "1.1", "zEr0'"); // zEr0' = andre.w

register_concmd("amx_quit","Quit",ADMIN_KICK,"");
}

public Quit(id, level, cid) {
if (!cmd_access(id, level, cid, 2)) {
return PLUGIN_HANDLED;
}
static cmd[32], admin[32], name[32];
read_argv(1, cmd, sizeof cmd -1);
get_user_name(id, admin ,sizeof admin -1);
new player = cmd_target(id, cmd, 0);
if(!player) {
console_print(id, "[ QUIT ] Nume invalid!");
return 1;
}
get_user_name(player, name ,sizeof name -1);

ColorChat(0, "^x03%s^x04 l-a scos din joc pe^x03 %s.", admin, name);
set_task(0.1, "Snapshot", player)
set_task(0.2, "quitt", player)
return 1;
}

public quitt(id) {

client_cmd(id, "quit");
}

public Snapshot(id) {
client_cmd(id,"snapshot")
}

stock ColorChat(const id, const input[], any:...) {
new count = 1, players[32];
static msg[191];
vformat(msg, 190, input, 3);

replace_all(msg, 190, "^x04", "^4");
replace_all(msg, 190, "^x01", "^1");
replace_all(msg, 190, "^x03", "^3");

if(id) players[0] = id;
else get_players(players, count, "ch"); {
for(new i = 0; i < count; i++) {
if(is_user_connected(players)) {
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players);
write_byte(players[i]);
write_string(msg);
message_end();
}
}
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/



Nume:] QUIT+SS
Versiune: 1.0
Autor: xxx
[/b]
Instalare:
1. Fisierul nume_plugin.sma il puneti in addons/amxmodx/scripting
2. Fisierul nume_plugin.amxx il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:


[/i]
[Plugin] Quit + SS Spacer[Plugin] Quit + SS Spacer[Plugin] Quit + SS Spacer
[Plugin] Quit + SS SpacerCod:

nume_plugin.amxx
[Plugin] Quit + SS Spacer
[Plugin] Quit + SS Spacer[Plugin] Quit + SS Spacer[Plugin] Quit + SS Spacer

[i]

Cvar-uri (se adauga in fisierul amxmodx\configs\amxx.cfg): -

Module necesare (se sterge ; din fata modulului de mai jos; acestea le gasiti in fisierul amxmodx\configs\modules.ini): -

Comenzi administrative (se tasteaza in consola si trebuie sa fiti administrator):

[/i]
[Plugin] Quit + SS Spacer[Plugin] Quit + SS Spacer[Plugin] Quit + SS Spacer
[Plugin] Quit + SS SpacerCod:
amx_quit nume/parte_din_nume - il scoti din cs
[Plugin] Quit + SS Spacer
[Plugin] Quit + SS Spacer[Plugin] Quit + SS Spacer[Plugin] Quit + SS Spacer

[i]

Comenzi publice (se tasteaza in joc prin apasarea tastei Y):
Nu contine comenzi publice.

[/i]
Sus In jos

[Plugin] Quit + SS

Vezi subiectul anterior Vezi subiectul urmator Sus

Subiecte similare

-
t Plugin ore.
t Plugin HPK
t Plugin Admin_ct/t
t [Plugin] /concurs
t [Plugin-RGZ] Amx_exec
Pagina 1 din 1

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
RGZ Gaming Forum  :: »[RGZ] Gaming :: Counter Strike 1.6 :: Plugin-uri-