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
 

saha - zdjęcie

saha

Rejestracja: 17.03.2012
Aktualnie: Nieaktywny
Poza forum Ostatnio: 17.08.2012 11:21
-----

Moje tematy

Dlugo wchodzi sie do team

07.08.2012 09:35

Witam mam następujący problem . Gdy kończy sie mapa i zaczyna nowa to aby ktokolwiek mógł wejść do CT bądź TT musi odczekac jakies 10-15 s taka chwilowa zwiecha i nie wiem dlaczego . Chattime 0 juz mam ustawione jakby co .

problem z pluginem paintballa

16.07.2012 14:16

[FAKEMETA] Invalid entity
L 07/16/2012 - 15:03:34: [AMXX] Displaying debug trace (plugin "paintballgun.amxx")
L 07/16/2012 - 15:03:34: [AMXX] Run time error 10: native error (native "pev")
L 07/16/2012 - 15:03:34: [AMXX]	[0] paintballgun_454713.sma::fw_touch (line 247)


Załączony plik  paintballgun.sma   13,62 KB  36 Ilość pobrań
  paintballgun.amxx

problem z pluginem vip paintball

18.03.2012 15:28

L 03/18/2012 - 15:13:03: [FUN] Item "weapon_primammo" failed to create
L 03/18/2012 - 15:13:03: [AMXX] Displaying debug trace (plugin "vip.amxx")
L 03/18/2012 - 15:13:03: [AMXX] Run time error 10: native error (native "give_item")
L 03/18/2012 - 15:13:03: [AMXX] [0] vip_442589.sma::doGiveGrenade (line 64)

/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <hamsandwich>
#define PLUGIN "PaintBall VIP"
#define VERSION "1.0"
#define ADMIN_CHECK ADMIN_LEVEL_H
static const COLOR[] = "^x04" //green
static const CONTACT[] = ""
new maxplayers
new gmsgSayText
public plugin_init()
{
	    register_plugin(PLUGIN, VERSION, "0")
	   
	    register_clcmd("say /vip","ShowMotd")
	    register_clcmd("say /infovip","ShowMotd")
	    register_clcmd("say /info","ShowMotd")
	    register_clcmd("say /vipinfo","ShowMotd")
	    register_clcmd("say_team /vip","ShowMotd")
	    register_clcmd("say_team /infovip","ShowMotd")
	    register_clcmd("say_team /info","ShowMotd")
	    register_clcmd("say_team /vipinfo","ShowMotd")
	    RegisterHam(Ham_Spawn, "player", "fwHamPlayerSpawnPost", 1);
	   
	    maxplayers = get_maxplayers()
	    gmsgSayText = get_user_msgid("SayText")
	    register_clcmd("say", "handle_say")
	    register_clcmd("say_team", "handle_say")
	    register_cvar("amx_contactinfo", CONTACT, FCVAR_SERVER)
}
public fwHamPlayerSpawnPost(id)
{	  
	    if(is_user_alive(id) && get_user_flags(id) & ADMIN_LEVEL_H)
	    {
			    if(task_exists(id + 666))
					    remove_task(id + 666);
					   
			    set_task(2.0, "doGiveGrenade", id + 666);
	    }
}
public doGiveGrenade(task_id)
{
	    new id = task_id -= 666;
	   
	    if(id > get_maxplayers() || id < 1)
			    return PLUGIN_HANDLED;
			   
	    set_user_health(id, 200);
	    give_item(id, "weapon_smokegrenade");
	    give_item(id, "weapon_hegrenade");
	    give_item(id, "item_thighpack");
	    give_item(id, "weapon_p90");
	    give_item(id, "weapon_primammo");
	    give_item(id, "weapon_primammo");
	   
	    return PLUGIN_CONTINUE;
}
			   
public ShowMotd(id)
	    show_motd(id, "vip.txt")
public handle_say(id)
{
	    new said[192]
	    read_args(said,192)
	    if( ( containi(said, "who") != -1 && containi(said, "vips") != -1 ) || contain(said, "/vips") != -1 )
			    set_task(0.1,"print_adminlist",id)
	    return PLUGIN_CONTINUE
}
public print_adminlist(user)
{
	    new adminnames[33][32]
	    new message[256]
	    new contactinfo[256], contact[112]
	    new id, count, x, len
	   
	    for(id = 1 ; id <= maxplayers ; id++)
			    if(is_user_connected(id))
					    if(get_user_flags(id) & ADMIN_CHECK)
							    get_user_name(id, adminnames[count++], 31)
	    len = format(message, 255, "%s VIP'y online: ",COLOR)
	    if(count > 0) {
			    for(x = 0 ; x < count ; x++) {
					    len += format(message[len], 255-len, "%s%s ", adminnames[x], x < (count-1) ? ", ":"")
					    if(len > 96 ) {
							    print_message(user, message)
							    len = format(message, 255, "%s ",COLOR)
					    }
			    }
			    print_message(user, message)
	    }
	    else {
			    len += format(message[len], 255-len, "Brak VIP'ow online.")
			    print_message(user, message)
	    }
	   
	    get_cvar_string("amx_contactinfo", contact, 63)
	    if(contact[0])  {
			    format(contactinfo, 111, "%s Kontakt z H@ znajdziesz na forum www.serwerycs.eu %s", COLOR, contact)
			    print_message(user, contactinfo)
	    }
}
print_message(id, msg[])
{
	    message_begin(MSG_ONE, gmsgSayText, {0,0,0}, id)
	    write_byte(id)
	    write_string(msg)
	    message_end()
}

[ROZWIĄZANE] problem z pluginem paintballa

17.03.2012 20:02

paintballgun.sma(39) : error 029: invalid expression, assumed zero
paintballgun.sma(39) : error 035: argument type mismatch (argument 3)

new g_msgHideWeapon;
new g_paintballs[MAX_PAINTBALLS], g_pbstatus[MAX_PAINTBALLS], g_pbcount, Float:lastshot[33], Float:nextattack[33], freezetime;
new pbgun, color, shots, blife, sound, bglow, damage, friendlyfire, beamspr;
new blood1, blood2, knife_ohk, jamon, pellets_real, pbslauncher;

new fire_rate_low, fire_rate_medium, fire_rate_high, jam_prob_low, jam_prob_high, gravity, speed_marker, speed_pistol, speed_shotgun, speed_sniper, dispersion, removecrosshair, speed_launcher, speed_smarker ;

static const g_shot_anim[8] = {0, 3, 9, 5, 1, 1, 1, 3};
static const g_pbgun_models[11][] = {"models/v_pbgun.mdl", "models/v_pbgun1.mdl", "models/v_pbgun2.mdl", "models/v_pbgun3.mdl", "models/v_pbgun4.mdl", "models/v_pbgun5.mdl", "models/v_pbgun6.mdl", "models/v_pbgun7.mdl", "models/v_pbgun8.mdl", "models/v_pbgun9.mdl", "models/v_pbgun10.mdl"};

new g_Jammed[33];

public plugin_init()
{
register_plugin(PLUGIN, VERSION, ); -->>>> 39 linijka
register_cvar("rpaintballgun", VERSION, FCVAR_SERVER|FCVAR_UNLOGGED);
set_cvar_string("rpaintballgun", VERSION)
register_clcmd("say /ent", "ent_info", ADMIN_SLAY);
g_msgHideWeapon = get_user_msgid( "HideWeapon" );

a juz nie aktualne naprawił kolega