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
 

mati3006 - zdjęcie

mati3006

Rejestracja: 10.08.2012
Aktualnie: Nieaktywny
Poza forum Ostatnio: 01.10.2012 18:18
-----

Moje tematy

Zmiana czasu rundy i zmiana obrażen

13.08.2012 14:05

Witam !

W jakich plikach moge zwiekszyc czas rundy np. z 2 min na 5 min i gdzie moge zmniejszyc zadawne obrażenie potrzebne mi to jest na moj serwer JB.Z gory dziekuje i pozdrawiam !

[ROZWIĄZANE] [JB]Plugin na otwieranie cel przez CT

12.08.2012 15:51

Witam!

Szukam plugina na serwera który po wpisaniu komendy /open przez CT otworzy cele.Z góry dziekuje i pozdrawiam

[ROZWIĄZANE] Modyfikacja pluginu OnlyKnifeAtStart

12.08.2012 13:13

Witam !

Chciałbym zeby plugin OnlyKnifeAtStart.amxx dawał tylko TT noże na starcie a nie CT i TT.Plugin potrzemny mi jest do JB.Z góry dziekuje i pozdrawiam.

/***************************************************
Cvar: amx_knifeonly_time okresla przez jaki czas
nie mozemy podniesc/kupic/uzyc jakiejkolwiek broni
poza nozem i C4. Jezeli przyjmuje wartosc <=0.0
to brana jest pod uwage wartosc cvar'a mp_freezetime
1.0 - wersja poczatkowa
1.1 - zmiana spobu metody uzywanej do broni: hamsandwich -> fakemeta
***************************************************/

#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#include <cstrike>
new bool: gCan_pickup[33]
new bool: gIn_game[33]
new pcTime, pcFreez
new Float: gAlowtime
public plugin_init()
{
register_plugin("Only Knife At Start", "1.1", "Pavulon")

pcFreez = get_cvar_pointer("mp_freezetime")
pcTime = register_cvar("amx_knifeonly_time", "0.0")

RegisterHam(Ham_Spawn,"player","pre_player_spawn",0)

register_event("WeapPickup","event_weappickup","be")
register_event("CurWeapon","event_curweapon","be", "1=1")
register_event("DeathMsg","event_deathmsg","a")
}
public plugin_cfg()
{
gAlowtime = get_pcvar_float(pcTime)
if (gAlowtime<=0.0)
  gAlowtime = get_pcvar_float(pcFreez)
}
public client_putinserver(id)
{
gCan_pickup[id] = false
gIn_game[id] = false
}
public client_disconnect(id)
{
gIn_game[id] = false
gCan_pickup[id] = false
}
public pre_player_spawn(id)
{
gCan_pickup[id] = false

if (task_exists(id))
  remove_task(id)

set_task(gAlowtime, "allow_pickup", id)
if (gIn_game[id])
  strip_prev(id)

gIn_game[id] = true

return HAM_IGNORED
}
public event_deathmsg()
{
gCan_pickup[read_data(2)] = false
}
public allow_pickup(id)
{
gCan_pickup[id] = true
}
public event_curweapon(id)
{
if (gCan_pickup[id]) return PLUGIN_HANDLED

new wId = read_data(2)
if (wId==6 || wId==29) return PLUGIN_HANDLED

new task_array[2]
task_array[0] = id
task_array[1] = wId

set_task(0.05,"strip_weapon",_ , task_array, 2)
return PLUGIN_HANDLED
}
public event_weappickup(id)
{
if (gCan_pickup[id]) return PLUGIN_HANDLED

new wId = read_data(1)
if (wId==6 || wId==29) return PLUGIN_HANDLED

new task_array[2]
task_array[0] = id
task_array[1] = wId
set_task(0.05,"strip_weapon",_ , task_array, 2)
return PLUGIN_HANDLED
}
public strip_weapon(task_array[2])
{
new id = task_array[0]
if(!is_user_connected(id)) return
fm_strip_user_gun(id, task_array[1])
//ham_strip_weapon(id, task_array[1])
}
stock strip_prev(id)
{
new Weapons[32]
new numWeapons, i, wId
get_user_weapons(id, Weapons, numWeapons)
for (i=0; i<numWeapons; i++)
{
  wId = Weapons[i]
  if (wId==CSW_KNIFE || wId==CSW_C4)
   continue
  fm_strip_user_gun(id, wId)
  //ham_strip_weapon(id, wId)
}
engclient_cmd(id, "weapon_knife")
}
stock bool:fm_strip_user_gun(index, weapon)
{
new ent_class[32];
new clip, ammo;
if (!weapon && !(weapon = get_user_weapon(index, clip, ammo)))
  return false;

get_weaponname(weapon, ent_class, sizeof ent_class - 1);

new ent_weap
while ((ent_weap = engfunc(EngFunc_FindEntityByString, ent_weap, "classname", ent_class)) && pev(ent_weap, pev_owner) != index) {}

if (!ent_weap)
  return false;

if (weapon == CSW_SMOKEGRENADE || weapon == CSW_FLASHBANG || weapon == CSW_HEGRENADE) {
  set_pev(index, pev_weapons,pev(index, pev_weapons) & ~(1<<weapon))
  cs_set_user_bpammo(index,weapon,0)
  } else {
  engclient_cmd(index, "drop", ent_class);

  new ent_box = pev(ent_weap, pev_owner);
  if (!ent_box || ent_box == index)
   return false;

  dllfunc(DLLFunc_Think, ent_box);
}
return true;
}
/*stock ham_strip_weapon(id, wId)
{
new weapon[20]
get_weaponname (wId, weapon, 19)

  if(!equal(weapon,"weapon_",7)) return 0

new wEnt
while((wEnt = engfunc(EngFunc_FindEntityByString,wEnt,"classname",weapon)) && pev(wEnt,pev_owner) != id) {}
if(!wEnt) return 0
if(get_user_weapon(id) == wId) ExecuteHamB(Ham_Weapon_RetireWeapon,wEnt)
if(!ExecuteHamB(Ham_RemovePlayerItem,id,wEnt)) return 0

ExecuteHamB(Ham_Item_Kill,wEnt)
set_pev(id,pev_weapons,pev(id,pev_weapons) & ~(1<<wId))

if (wId == CSW_SMOKEGRENADE || wId == CSW_FLASHBANG || wId == CSW_HEGRENADE)
  cs_set_user_bpammo(id,wId,0)

client_print(0, print_chat, "HamStrip")

return 1
}*/
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1045\\ f0\\ fs16 \n\\ par }
*/

Problem z pluginem JB_weapon

12.08.2012 11:30

Witam!

Mam problem z pluginem o nazwie JB_weapon na menu dla CT w JB.Zainstalowałem zgodnie z instrukcją ale gdy chce wybrać jakaś bron ona pojawia sie i po 1 s. znika.Co mam robic ?Z góry dziekuje i pozdrawiam.

Problem z Mapami

11.08.2012 12:13

Witam !

Mam problem z mapami na serwie gdy wchodze na serwer jestem na mapie startowej
ale gdy chce zmienic mape w admin menu , wpisze rtv lub poprostu poczekam do ich konca i wybiore jedna z nich serwer sie zawiesza trzeba zrobic re-log i znowu jest mapa startowa.Serwer to JB.Mapy sa wgrane do folderu maps oraz ich nazwy do mapscycle.txt oraz maps.ini.Nie wiem co robic serwer już przez 3 dni stoi przez ten problem.Dodam logi serwera.Z góry dziekuje i pozdrawiam.

******************************		 Login Passed... Welcome	   ******************************
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 22:54:48 Aug 15 2011 (5408)
STEAM Auth Server
Writing banned.cfg.
Server IP address 176.9.142.200:27041
  
   Metamod version 1.19p32 Copyright (c) 2001-2006 Will Day
	 Patch: Metamod-P (mm-p) v32 Copyright (c) 2004-2007 Jussi Kivilinna
   Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
   This is free software, and you are welcome to redistribute it
   under certain conditions; type `meta gpl' for details.
	 AMX Mod X version 1.8.1.3746 Copyright (c) 2004-2006 AMX Mod X Development Team
   AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
   This is free software and you are welcome to redistribute it under
   certain conditions; type 'amxx gpl' for details.

stray key in process_key: item_getiteminfo 63
Version 0.9.179 Linux
[DPROTO]:  Loading config './dproto.cfg'
[DPROTO]:  LoggingMode = 2
[DPROTO]:  Config sucessfully loaded.
[DPROTO]: Done.
scandir failed:/data/reconn/198566.cs16/SAVE
scandir failed:/data/reconn/198566.cs16/./platform/SAVE
L 08/11/2012 - 12:56:37: -------- Mapchange to jail_pyramid --------
L 08/11/2012 - 12:56:37: [GEOIP] Database info: GEO-106FREE 20060901 Build 1 Copyright (c) 2006 MaxMind LLC All Rights Reserved
[AMXX] Loaded 2 admins from file
Menu item 1 added to Menus Front-End: "AMX_Super Menu" from plugin "AMX_Super Menu"
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Executing AMX Mod X Configuration File
Scrolling message displaying frequency: 10:00 minutes
Client with that name or userid not found
No clients in such team
[AMX] Usage:  amx_task < time > "command" < flags >
[AMX Super] AMX_Super.cfg has been executed
[AMX Super] AMX_Super.cfg has been executed
Writing banned.cfg.
Writing banned.cfg.
Menu item 18 added to Menus Front-End: "Plugin Cvars" from plugin "pluginmenu.amxx"
Menu item 19 added to Menus Front-End: "Plugin Commands" from plugin "pluginmenu.amxx"
Connection to Steam servers successful.
   VAC secure mode is activated.
L 08/11/2012 - 12:56:41: Did not ban any maps from mapstoban.ini file
L 08/11/2012 - 12:56:41: Loaded 29 Maps into the maps that will be picked for the vote
L 08/11/2012 - 12:56:41: 1 Maps were not loaded because they were the last maps played, or defined twice, or banned
L 08/11/2012 - 12:56:41: Found 29 Maps in your mapcycle.txt/allmaps.txt file, 28 are available for filling slots