Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.

  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie
BattleField2

Reset statystyk tylko dla admina

BattleField2

  • Zamknięty Temat jest zamknięty
11 odpowiedzi w tym temacie

#1 iron_baby

    Zaawansowany

  • Użytkownik

Reputacja: 0
zer0.

  • Postów:83
  • Lokalizacja:łęczna
Offline

Napisano 23.10.2009 14:06

Witam, jak w temacie prosil bym o przerobienie tego plugina tak aby resetowac statystyki mogl tylko admin z flaga dostepu powiedzmy "l" lub jezeli to trudne to calkiem wylaczyc ta opcje


#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <fakemeta_util>
#include <hamsandwich>
#include <cstrike>
#include <csx>
#include <fun>

new const gPluginName[] = "Battlefield 2: Rank Mod";
new const gPluginVersion[] = "1.5.1";

//Message sending variables
new gmsgStatusText;
new gmsgScreenFade;
new gmsgScreenShake;
new gmsgSayText;

new gHudSyncAimInfo;
new gMaxPlayers;
new bool:gCZBotRegisterHam;

#define MAX_RANKS 17
#define MAX_BADGES 8

//Motd variables
new configsdir[200];
new configfile[200];

//Cvar vars
new gPcvarBF2Active;
new gPcvarBadgesActive;
new gPcvarFreeAwp;
new gPcvarXpMultiplier;
new gPcvarIconTime;
new gPcvarFlagKills;
new gPcvarHelpUrl;
new gPcvarBadgePowers;
new gPcvarFlagRoundPoints;
new gPcvarFlagMatchPoints;
new gPcvarFlagMinPlayers;
new gPcvarHudOptions;
new gPcvarFFA;
new gPcvarSaveType;
new gPcvarRankBots;
new gPcvarBotQuota;
new gPcvarSVLan;

//Current players info
new g_PlayerRank[33];
new g_PlayerBadges[33][MAX_BADGES];
new knifekills[33];
new pistolkills[33];
new sniperkills[33];
new parakills[33];
new defuses[33];
new plants[33];
new explosions[33];
new accuracy[33];
new totalkills[33];
new gSaveKey[33][32];
new smgkills[33];
new shotgunkills[33];
new riflekills[33];
new grenadekills[33];

new bronze[33];
new silver[33];
new gold[33];

//Temp storage variables
new numofbadges[33];
new bool:newplayer[33];
new g_lastwpn[33];
new bool:g_imobile[33];
new bool:freezetime;
new highestrank;
new highestrankid;
new gStatsLoaded[33];
new gCurrentFOV[33];

new g_friend[33];
new bool:g_invis[33];

new menuselection[33];

//Server stats
new highestrankserver;
new highestrankservername[32];

new mostkills;
new mostkillsid;
new mostkillsname[32];

new mostwins;
new mostwinsname[32];


new menuselected[33][3];
//0 - Badge/Kills selected 0/1
//1 - Badgenum/Kills
//2 - Badgelevel

//Sound Vars
new gSoundRank[] = "bf2rank/bf2rank_promotion.wav"; //Rank gained sound
new gSoundBadge[] = "bf2rank/bf2rank_award.wav"; //odznaki earned sound

//Sprite vars
new gSprite[21];

#if defined SQL
	//SQl vars
	#include <sqlx>
	new Handle:g_SqlTuple;
	new g_Cache[512];
	new bool:SQLenabled;
	new bool:gIntermission;
#else
	//nVault
	#include <nvault>
	new g_Vault;
	new gPcvarPruneDays;
#endif

new gPlayerName;

//Bf2 includes
#include "bf2/const.inl"
#include "bf2/effect.inl"
#include "bf2/cmds.inl"
#include "bf2/events.inl"
#include "bf2/save.inl"
#include "bf2/forwards.inl"
#include "bf2/check.inl"
#include "bf2/badgepowers.inl"
#include "bf2/menu.inl"
#include "bf2/hud.inl"
#include "bf2/othermods.inl"
#include "bf2/csx.inl"
#include "bf2/ham.inl"
#if defined SQL
#include "bf2/sql.inl"
#endif

public plugin_init()
{
	register_plugin(gPluginName, gPluginVersion, "pRED*");

	//Register all the say commands

	//Public
	register_clcmd("say /ranks","show_rankhelp",0, "Shows The Rank Help");
	register_clcmd("say_team /ranks","show_rankhelp",0, "Shows The Rank Help");

	register_clcmd("say /odznaki1","show_badgehelp",0, "Shows The Badge Help");
	register_clcmd("say_team /odznaki1","show_badgehelp",0, "Shows The Badge Help");

	register_clcmd("say /odznaki2","show_badgehelp2",0, "Shows The Badge Help 2");
	register_clcmd("say_team /odznaki2","show_badgehelp2",0, "Shows The Badge Help 2");

	register_clcmd("say /odznaki3","show_badgehelp3",0, "Shows The Badge Help 3");
	register_clcmd("say_team /odznaki3","show_badgehelp3",0, "Shows The Badge Help 3");

	register_clcmd("say", "cmd_say", 0, "<target> ");
	register_clcmd("say_team", "cmd_say", 0, "<target> ");

	register_clcmd("say /gracze", "cmd_who", 0, "Display a list of player and their levels");
	register_clcmd("say_team /gracze", "cmd_who", 0, "Display a list of player and their levels");

	register_clcmd("say /pomoc", "cmd_help", 0, "Displays the Help");
	register_clcmd("say_team /pomoc", "cmd_help", 0, "Displays the Help");

	register_clcmd("say /bf2menu", "Bf2menu", 0, "Displays the Menu");
	register_clcmd("say_team /bf2menu", "Bf2menu", 0, "Displays the Menu");
	register_clcmd("say bf2menu", "Bf2menu", 0, "Displays the Menu");
	register_clcmd("say_team bf2menu", "Bf2menu", 0, "Displays the Menu");
	register_clcmd("say /bf2", "Bf2menu", 0, "Displays the Menu");
	register_clcmd("say_team /bf2", "Bf2menu", 0, "Displays the Menu");
	register_clcmd("say bf2", "Bf2menu", 0, "Displays the Menu");
	register_clcmd("say_team bf2", "Bf2menu", 0, "Displays the Menu");
	register_clcmd("say /menu", "Bf2menu", 0, "Displays the Menu");
	register_clcmd("say_team /menu", "Bf2menu", 0, "Displays the Menu");
	register_clcmd("say menu", "Bf2menu", 0, "Displays the Menu");
	register_clcmd("say_team menu", "Bf2menu", 0, "Displays the Menu");
	register_clcmd("say /help", "Bf2menu", 0, "Displays the Menu");
	register_clcmd("say_team /help", "Bf2menu", 0, "Displays the Menu");
	register_clcmd("say pomoc", "Bf2menu", 0, "Displays the Menu");
	register_clcmd("say_team pomoc", "Bf2menu", 0, "Displays the Menu");

	register_clcmd("say /bf2helpmenu", "helpmenu", 0, "Displays the Help Menu");
	register_clcmd("say_team /bf2helpmenu", "helpmenu", 0, "Displays the Help Menu");

	register_clcmd("say /bf2statsmenu", "helpmenu", 0, "Displays the Stats Menu");
	register_clcmd("say_team /bf2statsmenu", "helpmenu", 0, "Displays the Stats Menu");

	register_clcmd("say /bf2adminmenu", "adminmenu", 0, "Displays the Admin Menu");
	register_clcmd("say_team /bf2adminmenu", "adminmenu", 0, "Displays the Admin Menu");

	register_clcmd("say /bf2stats", "show_stats", 0, "Shows your current weapon stats");
	register_clcmd("say_team /bf2stats", "show_stats", 0, "Shows your current weapon stats");

	register_clcmd("say /serverstats", "show_server_stats", 0, "Shows your current weapon stats");
	register_clcmd("say_team /serverstats", "show_server_stats", 0, "Shows your current weapon stats");

	register_clcmd("say /bf2save", "save_badges", 0, "Shows your current weapon stats");
	register_clcmd("say_team /bf2save", "save_badges", 0, "Shows your current weapon stats");

	register_clcmd("bf2_resetstats", "reset_stats", 0, "Resets all of your stats");

	//Admin
	register_clcmd("bf2_addbadge", "add_badge", ADMIN_LEVEL, "<player> <badge#> <level#>");
	register_clcmd("bf2_addkills", "add_kills", ADMIN_LEVEL, "<player> <kills#>");
	register_clcmd("bf2_resetserverstats", "reset_all_stats", ADMIN_RESET, "Erases all players stats");


	//Cvars

	//FCVAR_SERVER cvar for game monitor.
	register_cvar("bf2_version", gPluginVersion, FCVAR_SERVER);

	gPcvarBF2Active = register_cvar("bf2_active", "1");
	gPcvarBadgesActive = register_cvar("bf2_badges", "1");
	gPcvarFreeAwp = register_cvar("bf2_awp", "0");
	gPcvarXpMultiplier = register_cvar("bf2_xpmultiplier", "0.1");
	gPcvarIconTime = register_cvar("bf2_icon_time", "1.5");
	gPcvarHelpUrl = register_cvar("bf2_help_url", "");
	gPcvarBadgePowers = register_cvar("bf2_badgepowers", "1");
	gPcvarHudOptions = register_cvar("bf2_hud_options", "abcd");
#if !defined SQL
	gPcvarPruneDays = register_cvar("bf2_reset_days", "21");
#endif
	gPcvarFFA = register_cvar("bf2_ffa", "0");
	gPcvarFlagKills = register_cvar("bf2_flag_kills", "2");
	gPcvarFlagRoundPoints = register_cvar("bf2_flag_round_kills", "0");
	gPcvarFlagMatchPoints = register_cvar("bf2_flag_match_kills", "0");
	gPcvarFlagMinPlayers = register_cvar("bf2_flag_min_players", "1");

	gPcvarSaveType = get_cvar_pointer("csstats_rank");
	gPcvarRankBots = get_cvar_pointer("csstats_rankbots");
	gPcvarBotQuota = get_cvar_pointer("bot_quota");
	gPcvarSVLan = get_cvar_pointer("sv_lan");

	//Message sending.
	gmsgStatusText = get_user_msgid("StatusText");
	gmsgScreenFade = get_user_msgid("ScreenFade");
	gmsgScreenShake = get_user_msgid("ScreenShake");
	gmsgSayText = get_user_msgid("SayText");

	//Register events, logs and forwards to be captured
	register_event("HLTV", "Event_HLTV", "a", "1=0", "2=0"); //add freeztime start code
	register_event("CurWeapon", "Event_CurWeapon", "be", "1=1");
	register_event("SetFOV", "Event_SetFOV", "be");
	register_event("DeathMsg", "Event_DeathMsg", "a");

	register_logevent("LogEvent_Round_Start", 2, "0=World triggered", "1=Round_Start"); //freezetime end code
	register_logevent("LogEvent_Round_End", 2, "1=Round_End");

	register_message(SVC_INTERMISSION, "Message_Intermission");
	register_message(get_user_msgid("StatusValue"), "Message_StatusValue");

	register_event("StatusValue", "setTeam", "be", "1=1");
	register_event("StatusValue", "on_ShowStatus", "be", "1=2", "2!0");
	register_event("StatusValue", "on_HideStatus", "be", "1=1", "2=0");

	// Must use post or else is_user_alive will return false when dead player respawns
	RegisterHam(Ham_Spawn, "player", "Ham_Spawn_Post", 1);	// cz bots won't hook here must RegisterHamFromEntity
	RegisterHam(Ham_TakeDamage, "player", "Ham_TakeDamage_Pre");

	gHudSyncAimInfo = CreateHudSyncObj();
	gMaxPlayers = get_maxplayers();
	gPlayerName = get_xvar_id("PlayerName");
}

  • +
  • -
  • 0

#2 c1rca

    Wszechwidzący

  • Użytkownik

Reputacja: 13
Początkujący

  • Postów:227
  • GG:
  • Steam:steam
  • Lokalizacja:Częstochowa
Offline

Napisano 23.10.2009 14:19

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <fakemeta_util>
#include <hamsandwich>
#include <cstrike>
#include <csx>
#include <fun>

new const gPluginName[] = "Battlefield 2: Rank Mod";
new const gPluginVersion[] = "1.5.1";

//Message sending variables
new gmsgStatusText;
new gmsgScreenFade;
new gmsgScreenShake;
new gmsgSayText;

new gHudSyncAimInfo;
new gMaxPlayers;
new bool:gCZBotRegisterHam;

#define MAX_RANKS 17
#define MAX_BADGES 8

//Motd variables
new configsdir[200];
new configfile[200];

//Cvar vars
new gPcvarBF2Active;
new gPcvarBadgesActive;
new gPcvarFreeAwp;
new gPcvarXpMultiplier;
new gPcvarIconTime;
new gPcvarFlagKills;
new gPcvarHelpUrl;
new gPcvarBadgePowers;
new gPcvarFlagRoundPoints;
new gPcvarFlagMatchPoints;
new gPcvarFlagMinPlayers;
new gPcvarHudOptions;
new gPcvarFFA;
new gPcvarSaveType;
new gPcvarRankBots;
new gPcvarBotQuota;
new gPcvarSVLan;

//Current players info
new g_PlayerRank[33];
new g_PlayerBadges[33][MAX_BADGES];
new knifekills[33];
new pistolkills[33];
new sniperkills[33];
new parakills[33];
new defuses[33];
new plants[33];
new explosions[33];
new accuracy[33];
new totalkills[33];
new gSaveKey[33][32];
new smgkills[33];
new shotgunkills[33];
new riflekills[33];
new grenadekills[33];

new bronze[33];
new silver[33];
new gold[33];

//Temp storage variables
new numofbadges[33];
new bool:newplayer[33];
new g_lastwpn[33];
new bool:g_imobile[33];
new bool:freezetime;
new highestrank;
new highestrankid;
new gStatsLoaded[33];
new gCurrentFOV[33];

new g_friend[33];
new bool:g_invis[33];

new menuselection[33];

//Server stats
new highestrankserver;
new highestrankservername[32];

new mostkills;
new mostkillsid;
new mostkillsname[32];

new mostwins;
new mostwinsname[32];


new menuselected[33][3];
//0 - Badge/Kills selected 0/1
//1 - Badgenum/Kills
//2 - Badgelevel

//Sound Vars
new gSoundRank[] = "bf2rank/bf2rank_promotion.wav"; //Rank gained sound
new gSoundBadge[] = "bf2rank/bf2rank_award.wav"; //odznaki earned sound

//Sprite vars
new gSprite[21];

#if defined SQL
    //SQl vars
    #include <sqlx>
    new Handle:g_SqlTuple;
    new g_Cache[512];
    new bool:SQLenabled;
    new bool:gIntermission;
#else
    //nVault
    #include <nvault>
    new g_Vault;
    new gPcvarPruneDays;
#endif

new gPlayerName;

//Bf2 includes
#include "bf2/const.inl"
#include "bf2/effect.inl"
#include "bf2/cmds.inl"
#include "bf2/events.inl"
#include "bf2/save.inl"
#include "bf2/forwards.inl"
#include "bf2/check.inl"
#include "bf2/badgepowers.inl"
#include "bf2/menu.inl"
#include "bf2/hud.inl"
#include "bf2/othermods.inl"
#include "bf2/csx.inl"
#include "bf2/ham.inl"
#if defined SQL
#include "bf2/sql.inl"
#endif

public plugin_init()
{
    register_plugin(gPluginName, gPluginVersion, "pRED*");

    //Register all the say commands

    //Public
    register_clcmd("say /ranks","show_rankhelp",0, "Shows The Rank Help");
    register_clcmd("say_team /ranks","show_rankhelp",0, "Shows The Rank Help");

    register_clcmd("say /odznaki1","show_badgehelp",0, "Shows The Badge Help");
    register_clcmd("say_team /odznaki1","show_badgehelp",0, "Shows The Badge Help");

    register_clcmd("say /odznaki2","show_badgehelp2",0, "Shows The Badge Help 2");
    register_clcmd("say_team /odznaki2","show_badgehelp2",0, "Shows The Badge Help 2");

    register_clcmd("say /odznaki3","show_badgehelp3",0, "Shows The Badge Help 3");
    register_clcmd("say_team /odznaki3","show_badgehelp3",0, "Shows The Badge Help 3");

    register_clcmd("say", "cmd_say", 0, "<target> ");
    register_clcmd("say_team", "cmd_say", 0, "<target> ");

    register_clcmd("say /gracze", "cmd_who", 0, "Display a list of player and their levels");
    register_clcmd("say_team /gracze", "cmd_who", 0, "Display a list of player and their levels");

    register_clcmd("say /pomoc", "cmd_help", 0, "Displays the Help");
    register_clcmd("say_team /pomoc", "cmd_help", 0, "Displays the Help");

    register_clcmd("say /bf2menu", "Bf2menu", 0, "Displays the Menu");
    register_clcmd("say_team /bf2menu", "Bf2menu", 0, "Displays the Menu");
    register_clcmd("say bf2menu", "Bf2menu", 0, "Displays the Menu");
    register_clcmd("say_team bf2menu", "Bf2menu", 0, "Displays the Menu");
    register_clcmd("say /bf2", "Bf2menu", 0, "Displays the Menu");
    register_clcmd("say_team /bf2", "Bf2menu", 0, "Displays the Menu");
    register_clcmd("say bf2", "Bf2menu", 0, "Displays the Menu");
    register_clcmd("say_team bf2", "Bf2menu", 0, "Displays the Menu");
    register_clcmd("say /menu", "Bf2menu", 0, "Displays the Menu");
    register_clcmd("say_team /menu", "Bf2menu", 0, "Displays the Menu");
    register_clcmd("say menu", "Bf2menu", 0, "Displays the Menu");
    register_clcmd("say_team menu", "Bf2menu", 0, "Displays the Menu");
    register_clcmd("say /help", "Bf2menu", 0, "Displays the Menu");
    register_clcmd("say_team /help", "Bf2menu", 0, "Displays the Menu");
    register_clcmd("say pomoc", "Bf2menu", 0, "Displays the Menu");
    register_clcmd("say_team pomoc", "Bf2menu", 0, "Displays the Menu");

    register_clcmd("say /bf2helpmenu", "helpmenu", 0, "Displays the Help Menu");
    register_clcmd("say_team /bf2helpmenu", "helpmenu", 0, "Displays the Help Menu");

    register_clcmd("say /bf2statsmenu", "helpmenu", 0, "Displays the Stats Menu");
    register_clcmd("say_team /bf2statsmenu", "helpmenu", 0, "Displays the Stats Menu");

    register_clcmd("say /bf2adminmenu", "adminmenu", 0, "Displays the Admin Menu");
    register_clcmd("say_team /bf2adminmenu", "adminmenu", 0, "Displays the Admin Menu");

    register_clcmd("say /bf2stats", "show_stats", 0, "Shows your current weapon stats");
    register_clcmd("say_team /bf2stats", "show_stats", 0, "Shows your current weapon stats");

    register_clcmd("say /serverstats", "show_server_stats", 0, "Shows your current weapon stats");
    register_clcmd("say_team /serverstats", "show_server_stats", 0, "Shows your current weapon stats");

    register_clcmd("say /bf2save", "save_badges", 0, "Shows your current weapon stats");
    register_clcmd("say_team /bf2save", "save_badges", 0, "Shows your current weapon stats");

    register_clcmd("bf2_resetstats", "reset_stats", 0, "Resets all of your stats");

    //Admin
    register_clcmd("bf2_addbadge", "add_badge", ADMIN_RCON, "<player> <badge#> <level#>");
    register_clcmd("bf2_addkills", "add_kills", ADMIN_RCON, "<player> <kills#>");
    register_clcmd("bf2_resetserverstats", "reset_all_stats", ADMIN_RESET, "Erases all players stats");


    //Cvars

    //FCVAR_SERVER cvar for game monitor.
    register_cvar("bf2_version", gPluginVersion, FCVAR_SERVER);

    gPcvarBF2Active = register_cvar("bf2_active", "1");
    gPcvarBadgesActive = register_cvar("bf2_badges", "1");
    gPcvarFreeAwp = register_cvar("bf2_awp", "0");
    gPcvarXpMultiplier = register_cvar("bf2_xpmultiplier", "0.1");
    gPcvarIconTime = register_cvar("bf2_icon_time", "1.5");
    gPcvarHelpUrl = register_cvar("bf2_help_url", "");
    gPcvarBadgePowers = register_cvar("bf2_badgepowers", "1");
    gPcvarHudOptions = register_cvar("bf2_hud_options", "abcd");
#if !defined SQL
    gPcvarPruneDays = register_cvar("bf2_reset_days", "21");
#endif
    gPcvarFFA = register_cvar("bf2_ffa", "0");
    gPcvarFlagKills = register_cvar("bf2_flag_kills", "2");
    gPcvarFlagRoundPoints = register_cvar("bf2_flag_round_kills", "0");
    gPcvarFlagMatchPoints = register_cvar("bf2_flag_match_kills", "0");
    gPcvarFlagMinPlayers = register_cvar("bf2_flag_min_players", "1");

    gPcvarSaveType = get_cvar_pointer("csstats_rank");
    gPcvarRankBots = get_cvar_pointer("csstats_rankbots");
    gPcvarBotQuota = get_cvar_pointer("bot_quota");
    gPcvarSVLan = get_cvar_pointer("sv_lan");

    //Message sending.
    gmsgStatusText = get_user_msgid("StatusText");
    gmsgScreenFade = get_user_msgid("ScreenFade");
    gmsgScreenShake = get_user_msgid("ScreenShake");
    gmsgSayText = get_user_msgid("SayText");

    //Register events, logs and forwards to be captured
    register_event("HLTV", "Event_HLTV", "a", "1=0", "2=0"); //add freeztime start code
    register_event("CurWeapon", "Event_CurWeapon", "be", "1=1");
    register_event("SetFOV", "Event_SetFOV", "be");
    register_event("DeathMsg", "Event_DeathMsg", "a");

    register_logevent("LogEvent_Round_Start", 2, "0=World triggered", "1=Round_Start"); //freezetime end code
    register_logevent("LogEvent_Round_End", 2, "1=Round_End");

    register_message(SVC_INTERMISSION, "Message_Intermission");
    register_message(get_user_msgid("StatusValue"), "Message_StatusValue");

    register_event("StatusValue", "setTeam", "be", "1=1");
    register_event("StatusValue", "on_ShowStatus", "be", "1=2", "2!0");
    register_event("StatusValue", "on_HideStatus", "be", "1=1", "2=0");

    // Must use post or else is_user_alive will return false when dead player respawns
    RegisterHam(Ham_Spawn, "player", "Ham_Spawn_Post", 1);    // cz bots won't hook here must RegisterHamFromEntity
    RegisterHam(Ham_TakeDamage, "player", "Ham_TakeDamage_Pre");

    gHudSyncAimInfo = CreateHudSyncObj();
    gMaxPlayers = get_maxplayers();
    gPlayerName = get_xvar_id("PlayerName");
}

Już masz przerobione ;) teraz admini z flagą "l" ADMIN_RCON będą mogli tylko resetowac itp ;)
  • +
  • -
  • 0

#3 iron_baby

    Zaawansowany

  • Autor tematu
  • Użytkownik

Reputacja: 0
zer0.

  • Postów:83
  • Lokalizacja:łęczna
Offline

Napisano 23.10.2009 15:31

elcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright © 1997-2006 ITB CompuPhase, AMX Mod X Team

/groups/amxmodx/tmp3/textIA5gZ9.sma(128) : fatal error 100: cannot read from file: "bf2/const.inl"

Compilation aborted.
1 Error.
Done.
  • +
  • -
  • 0

#4 naven

    Hero

  • Power User

Reputacja: 200
Profesjonalista

  • Postów:1088
  • GG:
  • Imię:Adam
  • Lokalizacja:Cieszyn
Offline

Napisano 23.10.2009 15:35

Przy kompilacji musisz dac wszystkie wymagane pliki .inc
  • +
  • -
  • 0

#5 iron_baby

    Zaawansowany

  • Autor tematu
  • Użytkownik

Reputacja: 0
zer0.

  • Postów:83
  • Lokalizacja:łęczna
Offline

Napisano 23.10.2009 15:40

Rozwiniesz mysl?
  • +
  • -
  • 0

#6 Change

    Super Hero

  • Użytkownik

Reputacja: 129
Zaawansowany

  • Postów:1161
  • Lokalizacja:Konin
Offline

Napisano 23.10.2009 15:42

Kompiluj na swoim komputerze, wrzucając do folderu scripting poza sma wszystkie pliki z scripting pluginu - .inc
  • +
  • -
  • 0

#7 c1rca

    Wszechwidzący

  • Użytkownik

Reputacja: 13
Początkujący

  • Postów:227
  • GG:
  • Steam:steam
  • Lokalizacja:Częstochowa
Offline

Napisano 23.10.2009 16:15

W załączniku daje CI pliki potrzebne do kompilacji, w scripting wejdź w include, i wrzuć ten katalog bf2, do include ale rozpakowany ;)

Scripting>Includ>Bf2

I będzie ok ;))

Załączone pliki

  • Załączony plik  bf2.rar   22,96 KB  46 Ilość pobrań

  • +
  • -
  • 0

#8 iron_baby

    Zaawansowany

  • Autor tematu
  • Użytkownik

Reputacja: 0
zer0.

  • Postów:83
  • Lokalizacja:łęczna
Offline

Napisano 23.10.2009 16:52

Ale jak mam to skompilowac na swoim komuterze, powiedzicie proszę bo to jest dla mnie wyzsza matematyka... :(
  • +
  • -
  • 0

#9 c1rca

    Wszechwidzący

  • Użytkownik

Reputacja: 13
Początkujący

  • Postów:227
  • GG:
  • Steam:steam
  • Lokalizacja:Częstochowa
Offline

Napisano 23.10.2009 17:01

Iron, ciężka sprawa:d ale zrób tak pobierz amxa pod windows, bo tam w scripting masz plik complile i da się kompilowac, zostaw to gdzieś na dysku dodaj tam w scripting/include te bf2, co pisałem wyżej wstaw sma do scripting i daj plik compile i poczekaj ;)
  • +
  • -
  • 0

#10 iron_baby

    Zaawansowany

  • Autor tematu
  • Użytkownik

Reputacja: 0
zer0.

  • Postów:83
  • Lokalizacja:łęczna
Offline

Napisano 23.10.2009 17:05

a czy moglbym dac wszustkie pliki w zalaczniku od tego plugina i zrobilbys mi to?
  • +
  • -
  • 0

#11 c1rca

    Wszechwidzący

  • Użytkownik

Reputacja: 13
Początkujący

  • Postów:227
  • GG:
  • Steam:steam
  • Lokalizacja:Częstochowa
Offline

Napisano 23.10.2009 17:18

Staram się ale jakiś błąd wyskakuje którego teraz nie załatwię bo muszę wyjść ;) sry..
  • +
  • -
  • 0

#12 DaddyKuba

    Godlike

  • Użytkownik

Reputacja: 253
Wszechwidzący

  • Postów:1227
  • GG:
  • Steam:steam
  • Imię:Kamil
  • Lokalizacja:Pszczyna
Offline

Napisano 24.10.2009 13:56

http://amxx.pl/topic...v152-vt9155.htm
wersja 1.5.2 :)
  • +
  • -
  • 0





Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych