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

codmod problem


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

#1 K1cK_PL

    Wszechpomocny

  • Użytkownik

Reputacja: 18
Początkujący

  • Postów:315
  • Lokalizacja:Gdynia
Offline

Napisano 08.10.2010 17:27

Witam mam taki probleem otoz :
!.Zrobilem klase nic nie zrobilem zle wszystko dobrze sie skompilowalo ale jak uzyje tej klasy to niema nic tylko pistolet poczatkowy i biega jak by miala sh.
2. Jak zrobic zeby kazdy ct mial defa od razu. Pamietam ze sie dodawalo cos do sma ale na amen zapomnialem.
  • +
  • -
  • 0

#2 Pawex

    Wszechpomocny

  • Użytkownik

Reputacja: 94
Zaawansowany

  • Postów:381
  • Lokalizacja:Polska
Offline

Napisano 08.10.2010 17:32

Na poczatku odrodzenia masz switcha, do case 2 dodaj klamry oraz (give_item, "defuser") << Na oko, bo nie pamietam :D

Dokladnie cos takiego:
Spoiler

Użytkownik Pawex edytował ten post 08.10.2010 17:46

  • +
  • -
  • 1

#3 Kusek

    z Wikipedii

  • Power User

Reputacja: 446
Wszechobecny

  • Postów:1 655
  • Imię:Krystian
Offline

Napisano 08.10.2010 17:36

2.
switch(get_user_team(id))
{
case 1: give_item(id, "weapon_glock18");
case 2: give_item(id, "weapon_usp");
}

na

switch(get_user_team(id))
{
case 1: give_item(id, "weapon_glock18");
case 2: give_item(id, "weapon_usp");
give_item(id, "item_thighpack")
}


1.
pokaż error logi
  • +
  • -
  • 1

#4 K1cK_PL

    Wszechpomocny

  • Autor tematu
  • Użytkownik

Reputacja: 18
Początkujący

  • Postów:315
  • Lokalizacja:Gdynia
Offline

Napisano 08.10.2010 17:44

: "K1cK<86><STEAM_ID_LAN><>" tsay "o ty"
L 10/08/2010 - 17:46:41: [adminchat.amxx] Chat: "K1cK<86><STEAM_ID_LAN><>" tsay "ide zrobic nowa klase chyba "
L 10/08/2010 - 18:00:02: [mapchooser.amxx] Vote: Voting for the nextmap started
L 10/08/2010 - 18:00:17: [mapchooser.amxx] Vote: Voting for the nextmap finished. The nextmap will be aim_map_usp
L 10/08/2010 - 18:02:57: -------- Mapchange to aim_map_usp --------
L 10/08/2010 - 18:02:57: [GHW_Weapon_Replacement.amxx] File Inexistent: "models/nowe/w_knife.mdl" (Line 53 of new_weapons.ini)
L 10/08/2010 - 18:02:57: [GHW_Weapon_Replacement.amxx] File Inexistent: "models/nowe/w_shield_knife.mdl" (Line 59 of new_weapons.ini)
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] Wczytywanie pliku: "addons/amxmodx/configs/roundsound.ini"
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK21.mp3"
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK22.mp3"
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK23.mp3"
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK24.mp3"
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK25.mp3"
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK26.mp3"
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/k1ckct4.mp3"
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/k1cktt5.mp3"
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] [ Loading 2 CTs Sounds ]
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] - sound/misc/fraguj5.mp3
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] - sound/misc/fraguj7.mp3
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] [ Loading 3 Ts Sounds ]
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] - sound/misc/fraguj8.mp3
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] - sound/misc/k1ck27.mp3
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] - sound/misc/K1cKtt4.mp3
L 10/08/2010 - 18:02:57: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:02:58: [mini_bans.amxx] Zaladowano powod bana: Lagujesz
L 10/08/2010 - 18:02:58: [mini_bans.amxx] Zaladowano powod bana: Ogarnij sie
L 10/08/2010 - 18:02:58: [mini_bans.amxx] Zaladowano powod bana: Mikro
L 10/08/2010 - 18:02:58: [mini_bans.amxx] Zaladowano powod bana: Kultura
L 10/08/2010 - 18:02:58: [mini_bans.amxx] Zaladowano powod bana: Cs-Blind.pl
L 10/08/2010 - 18:02:58: [mini_bans.amxx] Zaladowano powod bana: sp***dalaj
L 10/08/2010 - 18:02:58: [mini_bans.amxx] Zaladowano powod bana: Czitujesz
L 10/08/2010 - 18:21:12: [mapchooser.amxx] Vote: Voting for the nextmap started
L 10/08/2010 - 18:21:27: [mapchooser.amxx] Vote: Voting for the nextmap finished. The nextmap will be awp_map
L 10/08/2010 - 18:23:28: -------- Mapchange to awp_map --------
L 10/08/2010 - 18:23:28: [GHW_Weapon_Replacement.amxx] File Inexistent: "models/nowe/w_knife.mdl" (Line 53 of new_weapons.ini)
L 10/08/2010 - 18:23:28: [GHW_Weapon_Replacement.amxx] File Inexistent: "models/nowe/w_shield_knife.mdl" (Line 59 of new_weapons.ini)
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] Wczytywanie pliku: "addons/amxmodx/configs/roundsound.ini"
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK21.mp3"
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK22.mp3"
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK23.mp3"
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK24.mp3"
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK25.mp3"
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK26.mp3"
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/k1ckct4.mp3"
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/k1cktt5.mp3"
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] [ Loading 2 CTs Sounds ]
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] - sound/misc/fraguj5.mp3
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] - sound/misc/fraguj7.mp3
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] [ Loading 3 Ts Sounds ]
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] - sound/misc/fraguj8.mp3
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] - sound/misc/k1ck27.mp3
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] - sound/misc/K1cKct1.mp3
L 10/08/2010 - 18:23:28: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:23:29: [mini_bans.amxx] Zaladowano powod bana: Lagujesz
L 10/08/2010 - 18:23:29: [mini_bans.amxx] Zaladowano powod bana: Ogarnij sie
L 10/08/2010 - 18:23:29: [mini_bans.amxx] Zaladowano powod bana: Mikro
L 10/08/2010 - 18:23:29: [mini_bans.amxx] Zaladowano powod bana: Kultura
L 10/08/2010 - 18:23:29: [mini_bans.amxx] Zaladowano powod bana: Cs-Blind.pl
L 10/08/2010 - 18:23:29: [mini_bans.amxx] Zaladowano powod bana: sp***dalaj
L 10/08/2010 - 18:23:29: [mini_bans.amxx] Zaladowano powod bana: Czitujesz
L 10/08/2010 - 18:23:42: [admin.amxx] Login: "K1cK<113><STEAM_ID_LAN><>" became an admin (account "K1cK") (access "abcdefghijklmnopqrstuwz") (address "83.11.49.56")
L 10/08/2010 - 18:24:05: [mapsmenu.amxx] Cmd: "K1cK<113><STEAM_ID_LAN><>" changelevel "de_dust"
L 10/08/2010 - 18:24:07: -------- Mapchange to de_dust --------
L 10/08/2010 - 18:24:07: [GHW_Weapon_Replacement.amxx] File Inexistent: "models/nowe/w_knife.mdl" (Line 53 of new_weapons.ini)
L 10/08/2010 - 18:24:07: [GHW_Weapon_Replacement.amxx] File Inexistent: "models/nowe/w_shield_knife.mdl" (Line 59 of new_weapons.ini)
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] Wczytywanie pliku: "addons/amxmodx/configs/roundsound.ini"
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK21.mp3"
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK22.mp3"
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK23.mp3"
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK24.mp3"
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK25.mp3"
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK26.mp3"
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/k1ckct4.mp3"
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/k1cktt5.mp3"
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] [ Loading 2 CTs Sounds ]
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] - sound/misc/fraguj7.mp3
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] - sound/misc/K1cK.mp3
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] [ Loading 3 Ts Sounds ]
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] - sound/misc/fraguj8.mp3
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] - sound/misc/K1cKct1.mp3
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] - sound/misc/K1cKtt4.mp3
L 10/08/2010 - 18:24:07: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:24:07: [mini_bans.amxx] Zaladowano powod bana: Lagujesz
L 10/08/2010 - 18:24:07: [mini_bans.amxx] Zaladowano powod bana: Ogarnij sie
L 10/08/2010 - 18:24:07: [mini_bans.amxx] Zaladowano powod bana: Mikro
L 10/08/2010 - 18:24:07: [mini_bans.amxx] Zaladowano powod bana: Kultura
L 10/08/2010 - 18:24:07: [mini_bans.amxx] Zaladowano powod bana: Cs-Blind.pl
L 10/08/2010 - 18:24:07: [mini_bans.amxx] Zaladowano powod bana: sp***dalaj
L 10/08/2010 - 18:24:07: [mini_bans.amxx] Zaladowano powod bana: Czitujesz
L 10/08/2010 - 18:24:08: [admin.amxx] Login: "K1cK<113><STEAM_ID_LAN><>" became an admin (account "K1cK") (access "abcdefghijklmnopqrstuwz") (address "83.11.49.56")
L 10/08/2010 - 18:24:16: [admin.amxx] Login: "K1cK<114><STEAM_ID_LAN><>" became an admin (account "K1cK") (access "abcdefghijklmnopqrstuwz") (address "83.11.49.56")
L 10/08/2010 - 18:34:53: [adminchat.amxx] Chat: "K1cK<114><STEAM_ID_LAN><>" tsay "nie grajcie majorem bo bany beda"
L 10/08/2010 - 18:42:22: [mapchooser.amxx] Vote: Voting for the nextmap started
L 10/08/2010 - 18:42:37: [mapchooser.amxx] Vote: Voting for the nextmap finished. The nextmap will be cs_assault
L 10/08/2010 - 18:44:32: -------- Mapchange to cs_assault --------
L 10/08/2010 - 18:44:33: [GHW_Weapon_Replacement.amxx] File Inexistent: "models/nowe/w_knife.mdl" (Line 53 of new_weapons.ini)
L 10/08/2010 - 18:44:33: [GHW_Weapon_Replacement.amxx] File Inexistent: "models/nowe/w_shield_knife.mdl" (Line 59 of new_weapons.ini)
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] Wczytywanie pliku: "addons/amxmodx/configs/roundsound.ini"
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK21.mp3"
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK22.mp3"
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK23.mp3"
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK24.mp3"
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK25.mp3"
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/K1cK26.mp3"
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/k1ckct4.mp3"
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] Blad - Inexistent File: "sound/misc/k1cktt5.mp3"
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] [ Loading 2 CTs Sounds ]
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] - sound/misc/fraguj5.mp3
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] - sound/misc/K1cK.mp3
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] [ Loading 3 Ts Sounds ]
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] - sound/misc/fraguj8.mp3
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] - sound/misc/K1cKct1.mp3
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] - sound/misc/K1cKtt4.mp3
L 10/08/2010 - 18:44:33: [alt_end_round_sounds.amxx] ---
L 10/08/2010 - 18:44:33: [mini_bans.amxx] Zaladowano powod bana: Lagujesz
L 10/08/2010 - 18:44:33: [mini_bans.amxx] Zaladowano powod bana: Ogarnij sie
L 10/08/2010 - 18:44:33: [mini_bans.amxx] Zaladowano powod bana: Mikro
L 10/08/2010 - 18:44:33: [mini_bans.amxx] Zaladowano powod bana: Kultura
L 10/08/2010 - 18:44:33: [mini_bans.amxx] Zaladowano powod bana: Cs-Blind.pl
L 10/08/2010 - 18:44:33: [mini_bans.amxx] Zaladowano powod bana: sp***dalaj
L 10/08/2010 - 18:44:33: [mini_bans.amxx] Zaladowano powod bana: Czitujesz

Dodano 08 październik 2010 - 17:44:
caly log od zrobienia klasy

Dodano 09 październik 2010 - 10:57:
refresh.. pomoze mi ktos z problemem

Dodano 10 październik 2010 - 12:55:
Znowu to samo zrobilem kolejna klase i tak samo jest znowu biega na sh. proszę o pomoc
  • +
  • -
  • 0

#5 SpiritD3a6

    Życzliwy

  • Zbanowany

Reputacja: 0
Nowy

  • Postów:37
  • Imię:damianosxd
  • Lokalizacja:osiek
Offline

Napisano 10.10.2010 13:08

przyczywiście masz problem alternative i coś z mini ban radziłbym bym ci wyłączyć pluginy i wgrać od nowa ale tym razem dobrze

[warn=Pavulon]Upraszanie się o punkty reputacji jest niemile widziane a w konsekwencji może zostać nagrodzone ujemnymi punktami lub ostrzeżeniem.[/warn]

#6 K1cK_PL

    Wszechpomocny

  • Autor tematu
  • Użytkownik

Reputacja: 18
Początkujący

  • Postów:315
  • Lokalizacja:Gdynia
Offline

Napisano 10.10.2010 13:18

no zobacze ale watpie zeby to bylo to

Dodano 10 październik 2010 - 14:27:
proszę o poprawienie bledow oraz zcompilowanie tego sma. Jesli mozna proszę zobaczyc do klas i powiedziec czemu one niedzialaja.

Załączone pliki


  • +
  • -
  • 0




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

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