Skocz do zawartości

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

Warinnginie wiem od czego mysle ze dobrze zrobilem


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

#1 G.T.W

    Życzliwy

  • Użytkownik

Reputacja: 1
Nowy

  • Postów:32
  • Lokalizacja:Lewniowa
Offline

Napisano 27.01.2010 16:38

Moje błędy:
Nie udało się skompilować pluginu.
Przeczytaj poniższy bład:

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/groups/amxmodx/tmp3/textiZdiGe.sma(11) : error 037: invalid string (possibly non-terminated string)
/groups/amxmodx/tmp3/textiZdiGe.sma(28) : error 017: undefined symbol "id"
/groups/amxmodx/tmp3/textiZdiGe.sma(28) : warning 215: expression has no effect
/groups/amxmodx/tmp3/textiZdiGe.sma(28) : warning 215: expression has no effect
/groups/amxmodx/tmp3/textiZdiGe.sma(28) : error 001: expected token: ";", but found ")"
/groups/amxmodx/tmp3/textiZdiGe.sma(28) : error 029: invalid expression, assumed zero
/groups/amxmodx/tmp3/textiZdiGe.sma(28) : fatal error 107: too many error messages on one line

Compilation aborted.
5 Errors.

Oto mój kod:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <cstrike>

public plugin_init( ) {
    register_plugin( "Zestaw ", "0.1", "eD." );
    
    register_clcmd( "say /zestaw", "ZestawSnipera );
}

public CmdDeagle( client ) {
    if( is_user_alive( client ) ) {
        give_item( client, "weapon_deagle" );
        give_item(client, "ammo_50ae")
        give_item(client, "ammo_50ae")
        give_item(client, "ammo_50ae")
        give_item( client, "weapon_awp" );
        give_item(client, "ammo_338magnum" )
        give_item(client, "ammo_338magnum" )
        give_item(client, "ammo_338magnum" )
        give_item(client, "weapon_hegrenade" )
        give_item(client, "weapon_smokegrenade" )
        give_item(client, "weapon_flashbang" )
        give_item(client, "weapon_flashbang" )
        client_print(id, print_chat, "Zakupiles zestaw profesjonalnego snipera za 7tys.")
        cs_set_user_money(index , cs_get_user_money(index)-7000, 1)
	
    }
}


  • +
  • -
  • 0

#2 mgr inż. Pavulon

    C35H60Br2N2O4

  • Przyjaciel

Reputacja: 1 742
Godlike

  • Postów:6 881
  • Steam:steam
  • Imię:Konrad
  • Lokalizacja:Koniecpol
Offline

Napisano 27.01.2010 16:44

Widać że robiłeś to w ciemno (CTRL+C => CTRL+V)

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <cstrike>

public plugin_init( ) {
register_plugin( "Zestaw ", "0.1", "eD." );

register_clcmd( "say /zestaw", "ZestawSnipera" );
}

public CmdDeagle( client ) {
if( is_user_alive( client ) ) {
give_item( client, "weapon_deagle" );
give_item(client, "ammo_50ae")
give_item(client, "ammo_50ae")
give_item(client, "ammo_50ae")
give_item( client, "weapon_awp" );
give_item(client, "ammo_338magnum" )
give_item(client, "ammo_338magnum" )
give_item(client, "ammo_338magnum" )
give_item(client, "weapon_hegrenade" )
give_item(client, "weapon_smokegrenade" )
give_item(client, "weapon_flashbang" )
give_item(client, "weapon_flashbang" )
client_print(client, print_chat, "Zakupiles zestaw profesjonalnego snipera za 7tys.")
cs_set_user_money(client , cs_get_user_money(client)-7000, 1)

}
}

  • +
  • -
  • 0

#3 DarkGL

    Nie oddam ciasteczka !

  • Administrator

Reputacja: 6 555
Godlike

  • Postów:11 980
  • GG:
  • Steam:steam
  • Imię:Rafał
  • Lokalizacja:Warszawa
Offline

Napisano 27.01.2010 16:47

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <cstrike>

public plugin_init( ) {
    register_plugin( "Zestaw ", "0.1", "eD." );
    register_clcmd( "say /zestaw", "ZestawSnipera");
}

public CmdDeagle( client ) {
    if( is_user_alive( client ) && cs_get_user_money(client) >= 7000 ) {
        give_item( client, "weapon_deagle" );
        give_item(client, "ammo_50ae")
        give_item(client, "ammo_50ae")
        give_item(client, "ammo_50ae")
        give_item( client, "weapon_awp" );
        give_item(client, "ammo_338magnum" )
        give_item(client, "ammo_338magnum" )
        give_item(client, "ammo_338magnum" )
        give_item(client, "weapon_hegrenade" )
        give_item(client, "weapon_smokegrenade" )
        give_item(client, "weapon_flashbang" )
        give_item(client, "weapon_flashbang" )
        client_print(client, print_chat, "Zakupiles zestaw profesjonalnego snipera za 7tys.")
        cs_set_user_money(client , cs_get_user_money(client)-7000, 1)
	
    }
}
szkubany mnie wyprzedził

Użytkownik DarkGL edytował ten post 27.01.2010 16:48

  • +
  • -
  • 0

#4 G.T.W

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:32
  • Lokalizacja:Lewniowa
Offline

Napisano 27.01.2010 17:22

wgralem pluga na serv i nie dziala
wpisuje /zestaw i nic sie nie dzieje ;/
  • +
  • -
  • 0

#5 DarkGL

    Nie oddam ciasteczka !

  • Administrator

Reputacja: 6 555
Godlike

  • Postów:11 980
  • GG:
  • Steam:steam
  • Imię:Rafał
  • Lokalizacja:Warszawa
Offline

Napisano 27.01.2010 17:28

/* Plugin generated by AMXX-Studio */



#include <amxmodx>

#include <amxmisc>

#include <fun>

#include <cstrike>



public plugin_init( ) {

    register_plugin( "Zestaw ", "0.1", "eD." );

    register_clcmd( "say /zestaw", "ZestawSnipera");

}



public ZestawSnipera(client) {

    if( is_user_alive(client) && cs_get_user_money(client) >= 7000 ) {

        give_item(client, "weapon_deagle" );

        give_item(client, "ammo_50ae")

        give_item(client, "ammo_50ae")

        give_item(client, "ammo_50ae")

        give_item(client, "weapon_awp" );

        give_item(client, "ammo_338magnum" )

        give_item(client, "ammo_338magnum" )

        give_item(client, "ammo_338magnum" )

        give_item(client, "weapon_hegrenade" )

        give_item(client, "weapon_smokegrenade" )

        give_item(client, "weapon_flashbang" )

        give_item(client, "weapon_flashbang" )

        client_print(client, print_chat, "Zakupiles zestaw profesjonalnego snipera za 7tys.")

        cs_set_user_money(client , cs_get_user_money(client)-7000, 1)

	

    }

}

  • +
  • -
  • 0

#6 G.T.W

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:32
  • Lokalizacja:Lewniowa
Offline

Napisano 27.01.2010 17:49

wpisuję /zestaw i nic ;/
  • +
  • -
  • 0

#7 mgr inż. Pavulon

    C35H60Br2N2O4

  • Przyjaciel

Reputacja: 1 742
Godlike

  • Postów:6 881
  • Steam:steam
  • Imię:Konrad
  • Lokalizacja:Koniecpol
Offline

Napisano 27.01.2010 17:51

a skompilowałeś ?
jakieś logi ?
  • +
  • -
  • 0

#8 G.T.W

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:32
  • Lokalizacja:Lewniowa
Offline

Napisano 27.01.2010 17:55

Tak plugin został skompilowany.


Kliknij w poniższy adres, aby pobrać plugin:
Pobierz

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

Header size: 344 bytes
Code size: 964 bytes
Data size: 1056 bytes
Stack/heap size: 16384 bytes; estimated max. usage=779 cells (3116 bytes)
Total requirements: 18748 bytes
Done.

Zero błędów.
  • +
  • -
  • 0

#9 mgr inż. Pavulon

    C35H60Br2N2O4

  • Przyjaciel

Reputacja: 1 742
Godlike

  • Postów:6 881
  • Steam:steam
  • Imię:Konrad
  • Lokalizacja:Koniecpol
Offline

Napisano 27.01.2010 18:00

Pytałem czy masz coś w logach* a nie o błędy kompilacji (bo kod sprawdzałem i się kompilował)



* Logi serwera - Nieoficjalny polski support AMX Mod X
  • +
  • -
  • 0

#10 G.T.W

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:32
  • Lokalizacja:Lewniowa
Offline

Napisano 27.01.2010 19:14

error_20100127
L 01/27/2010 - 08:53:51: Start of error session.
L 01/27/2010 - 08:53:51: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 08:53:51: [AMXX] Plugin file open error (plugin "admin_check.amxx")
L 01/27/2010 - 09:14:03: Start of error session.
L 01/27/2010 - 09:14:03: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 09:14:03: [AMXX] Plugin file open error (plugin "admin_check.amxx")
L 01/27/2010 - 09:34:12: Start of error session.
L 01/27/2010 - 09:34:12: Info (map "de_inferno") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 09:34:12: [AMXX] Plugin file open error (plugin "admin_check.amxx")
L 01/27/2010 - 13:37:42: Start of error session.
L 01/27/2010 - 13:37:42: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 13:37:42: [AMXX] Plugin file open error (plugin "admin_check.amxx")
L 01/27/2010 - 13:57:52: Start of error session.
L 01/27/2010 - 13:57:52: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 13:57:52: [AMXX] Plugin file open error (plugin "admin_check.amxx")
L 01/27/2010 - 14:25:43: Start of error session.
L 01/27/2010 - 14:25:43: Info (map "de_inferno") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 14:25:43: [AMXX] Plugin file open error (plugin "admin_check.amxx")
L 01/27/2010 - 16:42:09: Start of error session.
L 01/27/2010 - 16:42:09: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 16:42:09: [AMXX] Plugin file open error (plugin "admin_check.amxx")
L 01/27/2010 - 16:48:09: Start of error session.
L 01/27/2010 - 16:48:09: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 16:48:09: [AMXX] Plugin file open error (plugin "admin_check.amxx")
L 01/27/2010 - 17:01:05: Start of error session.
L 01/27/2010 - 17:01:05: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 17:01:05: Function "ZestawSnipera" was not found
L 01/27/2010 - 17:01:05: [AMXX] Run time error 19 (plugin "cziken.amxx") - debug not enabled!
L 01/27/2010 - 17:01:05: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 01/27/2010 - 17:01:57: Start of error session.
L 01/27/2010 - 17:01:57: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 17:01:57: Function "ZestawSnipera" was not found
L 01/27/2010 - 17:01:57: [AMXX] Run time error 19 (plugin "cziken.amxx") - debug not enabled!
L 01/27/2010 - 17:01:57: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 01/27/2010 - 17:04:51: Start of error session.
L 01/27/2010 - 17:04:51: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 17:04:51: Function "ZestawSnipera" was not found
L 01/27/2010 - 17:04:51: [AMXX] Run time error 19 (plugin "cziken.amxx") - debug not enabled!
L 01/27/2010 - 17:04:51: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 01/27/2010 - 17:13:08: Start of error session.
L 01/27/2010 - 17:13:08: Info (map "aim_map_usp") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 17:13:08: Function "ZestawSnipera" was not found
L 01/27/2010 - 17:13:08: [AMXX] Run time error 19 (plugin "cziken.amxx") - debug not enabled!
L 01/27/2010 - 17:13:08: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 01/27/2010 - 17:19:29: Start of error session.
L 01/27/2010 - 17:19:29: Info (map "1hp") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 17:19:29: Function "ZestawSnipera" was not found
L 01/27/2010 - 17:19:29: [AMXX] Run time error 19 (plugin "cziken.amxx") - debug not enabled!
L 01/27/2010 - 17:19:29: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 01/27/2010 - 17:26:12: Start of error session.
L 01/27/2010 - 17:26:12: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 17:26:12: Function "ZestawSnipera" was not found
L 01/27/2010 - 17:26:12: [AMXX] Run time error 19 (plugin "cziken.amxx") - debug not enabled!
L 01/27/2010 - 17:26:12: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 01/27/2010 - 17:28:36: Start of error session.
L 01/27/2010 - 17:28:36: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 17:28:36: Function "ZestawSnipera" was not found
L 01/27/2010 - 17:28:36: [AMXX] Run time error 19 (plugin "z.amxx") - debug not enabled!
L 01/27/2010 - 17:28:36: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 01/27/2010 - 17:51:15: Start of error session.
L 01/27/2010 - 17:51:15: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 17:51:15: Function "ZestawSnipera" was not found
L 01/27/2010 - 17:51:15: [AMXX] Run time error 19 (plugin "z.amxx") - debug not enabled!
L 01/27/2010 - 17:51:15: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 01/27/2010 - 18:11:25: Start of error session.
L 01/27/2010 - 18:11:25: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 18:11:25: Function "ZestawSnipera" was not found
L 01/27/2010 - 18:11:25: [AMXX] Run time error 19 (plugin "z.amxx") - debug not enabled!
L 01/27/2010 - 18:11:25: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 01/27/2010 - 18:31:34: Start of error session.
L 01/27/2010 - 18:31:34: Info (map "de_inferno") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 18:31:34: Function "ZestawSnipera" was not found
L 01/27/2010 - 18:31:34: [AMXX] Run time error 19 (plugin "z.amxx") - debug not enabled!
L 01/27/2010 - 18:31:34: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 01/27/2010 - 18:45:10: Start of error session.
L 01/27/2010 - 18:45:10: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 18:45:10: Function "ZestawSnipera" was not found
L 01/27/2010 - 18:45:10: [AMXX] Run time error 19 (plugin "z.amxx") - debug not enabled!
L 01/27/2010 - 18:45:10: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 01/27/2010 - 18:54:37: Start of error session.
L 01/27/2010 - 18:54:37: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 18:54:37: Function "ZestawSnipera" was not found
L 01/27/2010 - 18:54:37: [AMXX] Run time error 19 (plugin "z.amxx") - debug not enabled!
L 01/27/2010 - 18:54:37: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 01/27/2010 - 18:59:04: Start of error session.
L 01/27/2010 - 18:59:04: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 18:59:04: Function "ZestawSnipera" was not found
L 01/27/2010 - 18:59:04: [AMXX] Run time error 19 (plugin "z.amxx") - debug not enabled!
L 01/27/2010 - 18:59:04: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 01/27/2010 - 19:13:55: Start of error session.
L 01/27/2010 - 19:13:55: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100127.log")
L 01/27/2010 - 19:13:55: [AMXX] Invalid Plugin (plugin "plant_anywhere.amxx")
L 01/27/2010 - 19:13:55: Function "ZestawSnipera" was not found
L 01/27/2010 - 19:13:55: [AMXX] Run time error 19 (plugin "z.amxx") - debug not enabled!
L 01/27/2010 - 19:13:55: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
error_20100126
L 01/26/2010 - 22:37:44: Start of error session.
L 01/26/2010 - 22:37:44: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100126.log")
L 01/26/2010 - 22:37:44: [AMXX] Plugin file open error (plugin "admin_check.amxx")
L 01/26/2010 - 22:38:50: Start of error session.
L 01/26/2010 - 22:38:50: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100126.log")
L 01/26/2010 - 22:38:50: [AMXX] Plugin file open error (plugin "admin_check.amxx")
L 01/26/2010 - 22:58:56: Start of error session.
L 01/26/2010 - 22:58:56: Info (map "aim_crazyjump") (file "addons/amxmodx/logs/error_20100126.log")
L 01/26/2010 - 22:58:56: [AMXX] Plugin file open error (plugin "admin_check.amxx")
L 01/26/2010 - 23:00:25: [CSTRIKE] Invalid player 5
L 01/26/2010 - 23:00:25: [AMXX] Run time error 10 (plugin "plmenu.amxx") (native "cs_set_user_team") - debug not enabled!
L 01/26/2010 - 23:00:25: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 01/26/2010 - 23:11:07: Start of error session.
L 01/26/2010 - 23:11:07: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100126.log")
L 01/26/2010 - 23:11:07: [AMXX] Plugin file open error (plugin "admin_check.amxx")
L 01/26/2010 - 23:31:49: Start of error session.
L 01/26/2010 - 23:31:49: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100126.log")
L 01/26/2010 - 23:31:49: [AMXX] Plugin file open error (plugin "admin_check.amxx")
L 01/26/2010 - 23:35:18: Start of error session.
L 01/26/2010 - 23:35:18: Info (map "de_dust") (file "addons/amxmodx/logs/error_20100126.log")
L 01/26/2010 - 23:35:18: [AMXX] Plugin file open error (plugin "admin_check.amxx")
L 01/26/2010 - 23:35:54: Start of error session.
L 01/26/2010 - 23:35:54: Info (map "aim_crazyjump2") (file "addons/amxmodx/logs/error_20100126.log")
L 01/26/2010 - 23:35:54: [AMXX] Plugin file open error (plugin "admin_check.amxx")
L 01/26/2010 - 23:58:08: Start of error session.
L 01/26/2010 - 23:58:08: Info (map "de_inferno") (file "addons/amxmodx/logs/error_20100126.log")
L 01/26/2010 - 23:58:08: [AMXX] Plugin file open error (plugin "admin_check.amxx")
[/code]
plugin ten nazywa się f.amxx
  • +
  • -
  • 0

#11 DarkGL

    Nie oddam ciasteczka !

  • Administrator

Reputacja: 6 555
Godlike

  • Postów:11 980
  • GG:
  • Steam:steam
  • Imię:Rafał
  • Lokalizacja:Warszawa
Offline

Napisano 27.01.2010 20:53

eee skompiluje mój kod sprawdzałem działa
  • +
  • -
  • 0

#12 G.T.W

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:32
  • Lokalizacja:Lewniowa
Offline

Napisano 28.01.2010 20:52

twoj tez nie dziala ;/
  • +
  • -
  • 0

#13 DarkGL

    Nie oddam ciasteczka !

  • Administrator

Reputacja: 6 555
Godlike

  • Postów:11 980
  • GG:
  • Steam:steam
  • Imię:Rafał
  • Lokalizacja:Warszawa
Offline

Napisano 28.01.2010 22:36

nie umiesz wgrywać pluginów sprawdziłem znów i działało idealnie
  • +
  • -
  • 0




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

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