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

Zamroznienie graczy


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

#1 MenTo(S)

    Profesjonalista

  • Użytkownik

Reputacja: 1
Nowy

  • Postów:171
  • GG:
  • Steam:steam
  • Imię:Sebastian
  • Lokalizacja:Kielce
Offline

Napisano 15.08.2011 21:09

Witam.
Czy mógł by mi ktoś dodać zamrożenie graczy oraz czarny ekran dla graczy będących w CT na czas w którym ma się ukryć TT.
public cmd_hns_start()
{
server_cmd("jb_unblock_weapons")
new Players[32]
new playerCount, i
get_players(Players, playerCount, "ac")
for (i=0; i<playerCount; i++)
{
if (cs_get_user_team(Players[i]) == CS_TEAM_T)
{
give_item(Players[i], "weapon_knife")
current_weapon(Players[i])
give_item(Players[i], "weapon_flashbang")
give_item(Players[i], "weapon_smokegrenade")
set_user_maxspeed(Players[i], 300.0)
set_user_health(Players[i], 100)
}
else
{
give_item(Players[i], "weapon_knife")
current_weapon(Players[i])
give_item(Players[i], "weapon_smokegrenade")
set_bit(g_Fonarik, Players[i])
client_cmd(Players[i], "impulse 100")


new j = random_num(0, sizeof(_WeaponsFree) - 1)

give_item(Players[i], _WeaponsFree[j])
cs_set_user_bpammo(Players[i], _WeaponsFreeCSW[j], _WeaponsFreeAmmo[j])
/// give two random guns

new n = random_num(0, sizeof(_WeaponsFree) - 1)
while (n == j) {
n = random_num(0, sizeof(_WeaponsFree) - 1)
}

give_item(Players[i], _WeaponsFree[n])
cs_set_user_bpammo(Players[i], _WeaponsFreeCSW[n], _WeaponsFreeAmmo[n])
}
}
emit_sound(0, CHAN_AUTO, "jbextreme/brass_bell_C.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)

new sz_msg[256];
formatex(sz_msg, charsmax(sz_msg), "^x03%L", LANG_SERVER, "UJBM_MENU_GAME_TEXT_HNS_START")
client_print(0, print_center , sz_msg)

return PLUGIN_CONTINUE
}



public cmd_game_hns()
{

g_nogamerounds = 0
g_BoxStarted = 0
jail_open()
g_GameMode = 3
g_SimonAllowed = 0
g_Simon = 0


emit_sound(0, CHAN_AUTO, "jbextreme/brass_bell_C.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)
player_hudmessage(0, 2, HUD_DELAY + 1.0, {0, 255, 0}, "%L", LANG_SERVER, "UJBM_MENU_GAME_TEXT_HNS")


set_lights("b");
server_cmd("jb_block_weapons")


new Players[32]
new playerCount, i
get_players(Players, playerCount, "ac")
for (i=0; i<playerCount; i++)
{
strip_user_weapons(Players[i])
}
set_task(30.0,"cmd_hns_start",TASK_GIVEITEMS)

return PLUGIN_CONTINUE
}

  • +
  • -
  • 0

#2 Lunatic

    Zaawansowany

  • Użytkownik

Reputacja: 38
Życzliwy

  • Postów:142
  • Lokalizacja:Olsztyn
Offline

Napisano 15.08.2011 23:29

Zobacz to:

new g_msg_screenfade
new cvar_czaszmr

public plugin_int() {
	g_msg_screenfade= get_user_msgid("ScreenFade")
	cvar_czaszmr = register_cvar("cvar_czaszmr", "5")
}

public cmd_hns_start()
{
        server_cmd("jb_unblock_weapons")
        new Players[32] 
        new playerCount, i 
        get_players(Players, playerCount, "ac") 
        for (i=0; i<playerCount; i++) 
        {
                if (cs_get_user_team(Players[i]) == CS_TEAM_T)
                {
                        give_item(Players[i], "weapon_knife")
                        current_weapon(Players[i])
                        give_item(Players[i], "weapon_flashbang")
                        give_item(Players[i], "weapon_smokegrenade")
                        set_user_maxspeed(Players[i], 300.0)
                        set_user_health(Players[i], 100)
                }
                else
                {
                        give_item(Players[i], "weapon_knife")
                        current_weapon(Players[i])
                        give_item(Players[i], "weapon_smokegrenade")
                        set_bit(g_Fonarik, Players[i])
                        client_cmd(Players[i], "impulse 100")
			
			//new
			set_user_maxspeed(Players[i], -1.0)
			set_task(get_pcvar_float(cvar_czaszmr), "oddaj_speed", Players[i])
			screen_effects(Players[i])
                        
                        new j = random_num(0, sizeof(_WeaponsFree) - 1)
                        
                        give_item(Players[i], _WeaponsFree[j])
                        cs_set_user_bpammo(Players[i], _WeaponsFreeCSW[j], _WeaponsFreeAmmo[j])
                        /// give two random guns
                        
                        new n = random_num(0, sizeof(_WeaponsFree) - 1)
                        while (n == j) { 
                                n = random_num(0, sizeof(_WeaponsFree) - 1) 
                        }
                        
                        give_item(Players[i], _WeaponsFree[n])
                        cs_set_user_bpammo(Players[i], _WeaponsFreeCSW[n], _WeaponsFreeAmmo[n])
                }
        }
        emit_sound(0, CHAN_AUTO, "jbextreme/brass_bell_C.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)
        
        new sz_msg[256];
        formatex(sz_msg, charsmax(sz_msg), "^x03%L", LANG_SERVER, "UJBM_MENU_GAME_TEXT_HNS_START")
        client_print(0, print_center , sz_msg)
        
        return PLUGIN_CONTINUE
}

//new
public oddaj_speed(id) {
	set_user_maxspeed(Players[i], 245.0)
}

stock screen_effects(id) {
	message_begin(MSG_ONE_UNRELIABLE, g_msg_screenfade, _, id)
	write_short ( (1<<12)*get_pcvar_num(cvar_czaszmr) )
	write_short ( 1<<12 )
	write_short ( 0x0000 )
	write_byte ( 0 )
	write_byte ( 0 )
	write_byte ( 0 )
	write_byte ( 255 )
	message_end ( )
}

Pominąłem tutaj funkcje cmd_game_hns()

Użytkownik Lunatic edytował ten post 15.08.2011 23:29

  • +
  • -
  • 0

#3 MarWit

    The Chosen One

  • Przyjaciel

Reputacja: 840
Czempion

  • Postów:1485
  • GG:
  • Steam:steam
  • Imię:Marcin
  • Lokalizacja:Bystrzyca
Offline

Napisano 16.08.2011 16:21

Łap, powinno byc ok.

public cmd_hns_start()
{
server_cmd("jb_unblock_weapons")
new Players[32]
new playerCount, i
get_players(Players, playerCount, "ac")
for (i=0; i<playerCount; i++)
{
if (cs_get_user_team(Players[i]) == CS_TEAM_T)
{
give_item(Players[i], "weapon_knife")
current_weapon(Players[i])
give_item(Players[i], "weapon_flashbang")
give_item(Players[i], "weapon_smokegrenade")
set_user_maxspeed(Players[i], 300.0)
set_user_health(Players[i], 100)
set_pev(Players[i], pev_flags, FL_CLIENT)
}
else
{
give_item(Players[i], "weapon_knife")
current_weapon(Players[i])
give_item(Players[i], "weapon_smokegrenade")
set_bit(g_Fonarik, Players[i])
client_cmd(Players[i], "impulse 100")
set_pev(Players[i], pev_flags, FL_FROZEN)


new j = random_num(0, sizeof(_WeaponsFree) - 1)

give_item(Players[i], _WeaponsFree[j])
cs_set_user_bpammo(Players[i], _WeaponsFreeCSW[j], _WeaponsFreeAmmo[j])
/// give two random guns

new n = random_num(0, sizeof(_WeaponsFree) - 1)
while (n == j) {
n = random_num(0, sizeof(_WeaponsFree) - 1)
}

give_item(Players[i], _WeaponsFree[n])
cs_set_user_bpammo(Players[i], _WeaponsFreeCSW[n], _WeaponsFreeAmmo[n])
}
}
emit_sound(0, CHAN_AUTO, "jbextreme/brass_bell_C.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)

new sz_msg[256];
formatex(sz_msg, charsmax(sz_msg), "^x03%L", LANG_SERVER, "UJBM_MENU_GAME_TEXT_HNS_START")
client_print(0, print_center , sz_msg)

return PLUGIN_CONTINUE
}



public cmd_game_hns()
{

g_nogamerounds = 0
g_BoxStarted = 0
jail_open()
g_GameMode = 3
g_SimonAllowed = 0
g_Simon = 0


emit_sound(0, CHAN_AUTO, "jbextreme/brass_bell_C.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)
player_hudmessage(0, 2, HUD_DELAY + 1.0, {0, 255, 0}, "%L", LANG_SERVER, "UJBM_MENU_GAME_TEXT_HNS")


set_lights("b");
server_cmd("jb_block_weapons")


new Players[32]
new playerCount, i
get_players(Players, playerCount, "ac")
for (i=0; i<playerCount; i++)
{
strip_user_weapons(Players[i])
}
set_task(30.0,"cmd_hns_start",TASK_GIVEITEMS)
for(new i=0; i<32; i++)
{
if(!is_user_connected(i) || get_user_team(i) != 2) continue;

FadeScreen(i)
set_pev(i, pev_flags, FL_FROZEN)
}

return PLUGIN_CONTINUE
}

stock FadeScreen(id) {
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("ScreenFade"), _, id)
write_short ((30<<12))
write_short (1<<12)
write_short (1<<1)
write_byte (0)
write_byte (0)
write_byte (0)
write_byte (255)
message_end ()
}

  • +
  • -
  • 0

marwit-0.png


#4 MenTo(S)

    Profesjonalista

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:171
  • GG:
  • Steam:steam
  • Imię:Sebastian
  • Lokalizacja:Kielce
Offline

Napisano 16.08.2011 17:31

Łap, powinno byc ok.

public cmd_hns_start()
{
server_cmd("jb_unblock_weapons")
new Players[32]
new playerCount, i
get_players(Players, playerCount, "ac")
for (i=0; i<playerCount; i++)
{
if (cs_get_user_team(Players[i]) == CS_TEAM_T)
{
give_item(Players[i], "weapon_knife")
current_weapon(Players[i])
give_item(Players[i], "weapon_flashbang")
give_item(Players[i], "weapon_smokegrenade")
set_user_maxspeed(Players[i], 300.0)
set_user_health(Players[i], 100)
set_pev(Players[i], pev_flags, FL_CLIENT)
}
else
{
give_item(Players[i], "weapon_knife")
current_weapon(Players[i])
give_item(Players[i], "weapon_smokegrenade")
set_bit(g_Fonarik, Players[i])
client_cmd(Players[i], "impulse 100")
set_pev(Players[i], pev_flags, FL_FROZEN)


new j = random_num(0, sizeof(_WeaponsFree) - 1)

give_item(Players[i], _WeaponsFree[j])
cs_set_user_bpammo(Players[i], _WeaponsFreeCSW[j], _WeaponsFreeAmmo[j])
/// give two random guns

new n = random_num(0, sizeof(_WeaponsFree) - 1)
while (n == j) {
n = random_num(0, sizeof(_WeaponsFree) - 1)
}

give_item(Players[i], _WeaponsFree[n])
cs_set_user_bpammo(Players[i], _WeaponsFreeCSW[n], _WeaponsFreeAmmo[n])
}
}
emit_sound(0, CHAN_AUTO, "jbextreme/brass_bell_C.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)

new sz_msg[256];
formatex(sz_msg, charsmax(sz_msg), "^x03%L", LANG_SERVER, "UJBM_MENU_GAME_TEXT_HNS_START")
client_print(0, print_center , sz_msg)

return PLUGIN_CONTINUE
}



public cmd_game_hns()
{

g_nogamerounds = 0
g_BoxStarted = 0
jail_open()
g_GameMode = 3
g_SimonAllowed = 0
g_Simon = 0


emit_sound(0, CHAN_AUTO, "jbextreme/brass_bell_C.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)
player_hudmessage(0, 2, HUD_DELAY + 1.0, {0, 255, 0}, "%L", LANG_SERVER, "UJBM_MENU_GAME_TEXT_HNS")


set_lights("b");
server_cmd("jb_block_weapons")


new Players[32]
new playerCount, i
get_players(Players, playerCount, "ac")
for (i=0; i<playerCount; i++)
{
strip_user_weapons(Players[i])
}
set_task(30.0,"cmd_hns_start",TASK_GIVEITEMS)
for(new i=0; i<32; i++)
{
if(!is_user_connected(i) || get_user_team(i) != 2) continue;

FadeScreen(i)
set_pev(i, pev_flags, FL_FROZEN)
}

return PLUGIN_CONTINUE
}

stock FadeScreen(id) {
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("ScreenFade"), _, id)
write_short ((30<<12))
write_short (1<<12)
write_short (1<<1)
write_byte (0)
write_byte (0)
write_byte (0)
write_byte (255)
message_end ()
}


Fakt zamraża i robi się czarny ekran ale czarny ekran trwa około 6 - 7 sekund a gdy rozpoczyna się szukanie CT zostaje dalej uziemiony.

Zobacz to:

new g_msg_screenfade
new cvar_czaszmr

public plugin_int() {
	g_msg_screenfade= get_user_msgid("ScreenFade")
	cvar_czaszmr = register_cvar("cvar_czaszmr", "5")
}

public cmd_hns_start()
{
        server_cmd("jb_unblock_weapons")
        new Players[32] 
        new playerCount, i 
        get_players(Players, playerCount, "ac") 
        for (i=0; i<playerCount; i++) 
        {
                if (cs_get_user_team(Players[i]) == CS_TEAM_T)
                {
                        give_item(Players[i], "weapon_knife")
                        current_weapon(Players[i])
                        give_item(Players[i], "weapon_flashbang")
                        give_item(Players[i], "weapon_smokegrenade")
                        set_user_maxspeed(Players[i], 300.0)
                        set_user_health(Players[i], 100)
                }
                else
                {
                        give_item(Players[i], "weapon_knife")
                        current_weapon(Players[i])
                        give_item(Players[i], "weapon_smokegrenade")
                        set_bit(g_Fonarik, Players[i])
                        client_cmd(Players[i], "impulse 100")
			
			//new
			set_user_maxspeed(Players[i], -1.0)
			set_task(get_pcvar_float(cvar_czaszmr), "oddaj_speed", Players[i])
			screen_effects(Players[i])
                        
                        new j = random_num(0, sizeof(_WeaponsFree) - 1)
                        
                        give_item(Players[i], _WeaponsFree[j])
                        cs_set_user_bpammo(Players[i], _WeaponsFreeCSW[j], _WeaponsFreeAmmo[j])
                        /// give two random guns
                        
                        new n = random_num(0, sizeof(_WeaponsFree) - 1)
                        while (n == j) { 
                                n = random_num(0, sizeof(_WeaponsFree) - 1) 
                        }
                        
                        give_item(Players[i], _WeaponsFree[n])
                        cs_set_user_bpammo(Players[i], _WeaponsFreeCSW[n], _WeaponsFreeAmmo[n])
                }
        }
        emit_sound(0, CHAN_AUTO, "jbextreme/brass_bell_C.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)
        
        new sz_msg[256];
        formatex(sz_msg, charsmax(sz_msg), "^x03%L", LANG_SERVER, "UJBM_MENU_GAME_TEXT_HNS_START")
        client_print(0, print_center , sz_msg)
        
        return PLUGIN_CONTINUE
}

//new
public oddaj_speed(id) {
	set_user_maxspeed(Players[i], 245.0)
}

stock screen_effects(id) {
	message_begin(MSG_ONE_UNRELIABLE, g_msg_screenfade, _, id)
	write_short ( (1<<12)*get_pcvar_num(cvar_czaszmr) )
	write_short ( 1<<12 )
	write_short ( 0x0000 )
	write_byte ( 0 )
	write_byte ( 0 )
	write_byte ( 0 )
	write_byte ( 255 )
	message_end ( )
}

Pominąłem tutaj funkcje cmd_game_hns()


A tutaj znów
UJBM_main.sma(2591) : error 017: undefined symbol "Players"
UJBM_main.sma(2591) : error 017: undefined symbol "i"
UJBM_main.sma(2591) : error 029: invalid expression, assumed zero
UJBM_main.sma(2591) : fatal error 107: too many error messages on one line

public oddaj_speed(id)
{
set_user_maxspeed(Players[i], 245.0)
}

Użytkownik MenTo(S) edytował ten post 16.08.2011 17:39

  • +
  • -
  • 0

#5 MarWit

    The Chosen One

  • Przyjaciel

Reputacja: 840
Czempion

  • Postów:1485
  • GG:
  • Steam:steam
  • Imię:Marcin
  • Lokalizacja:Bystrzyca
Offline

Napisano 16.08.2011 18:32

Zamien stocka na:

stock FadeScreen(id) {
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("ScreenFade"), _, id)
write_short ((1<<14)*30)
write_short (1<<14)
write_short (1<<1)
write_byte (0)
write_byte (0)
write_byte (0)
write_byte (255)
message_end ()
}

  • +
  • -
  • 0

marwit-0.png


#6 MenTo(S)

    Profesjonalista

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:171
  • GG:
  • Steam:steam
  • Imię:Sebastian
  • Lokalizacja:Kielce
Offline

Napisano 16.08.2011 19:45

Zamien stocka na:

stock FadeScreen(id) {
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("ScreenFade"), _, id)
write_short ((1<<14)*30)
write_short (1<<14)
write_short (1<<1)
write_byte (0)
write_byte (0)
write_byte (0)
write_byte (255)
message_end ()
}



Zmiana stocka nic nie dała dalej po rozpoczęciu nic się nie da zrobić jestem zakopany i nie mogę strzelać ani nic.
  • +
  • -
  • 0

#7 Lunatic

    Zaawansowany

  • Użytkownik

Reputacja: 38
Życzliwy

  • Postów:142
  • Lokalizacja:Olsztyn
Offline

Napisano 16.08.2011 19:52

Zobacz jeszcze raz moje tylko zmiana w funkcji

public oddaj_speed(id)
{
        set_user_maxspeed(id, 245.0)
}

Użytkownik Lunatic edytował ten post 16.08.2011 19:52

  • +
  • -
  • 0

#8 MenTo(S)

    Profesjonalista

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:171
  • GG:
  • Steam:steam
  • Imię:Sebastian
  • Lokalizacja:Kielce
Offline

Napisano 16.08.2011 20:13

Zobacz jeszcze raz moje tylko zmiana w funkcji

public oddaj_speed(id)
{
        set_user_maxspeed(id, 245.0)
}


Jedyne co to się robi czarny ekran na 5 sekund a hns się zaczyna od razu.
Musi być użyte cmd_game_hns().

Użytkownik MenTo(S) edytował ten post 16.08.2011 20:13

  • +
  • -
  • 0

#9 MarWit

    The Chosen One

  • Przyjaciel

Reputacja: 840
Czempion

  • Postów:1485
  • GG:
  • Steam:steam
  • Imię:Marcin
  • Lokalizacja:Bystrzyca
Offline

Napisano 16.08.2011 20:32

Łap, stock ten sam:

public cmd_hns_start()
{
server_cmd("jb_unblock_weapons")
new Players[32]
new playerCount, i
get_players(Players, playerCount, "ac")
for (i=0; i<playerCount; i++)
{
if (cs_get_user_team(Players[i]) == CS_TEAM_T)
{
give_item(Players[i], "weapon_knife")
current_weapon(Players[i])
give_item(Players[i], "weapon_flashbang")
give_item(Players[i], "weapon_smokegrenade")
set_user_maxspeed(Players[i], 300.0)
set_user_health(Players[i], 100)
set_pev(Players[i], pev_flags, FL_FROZEN)
}
else
{
give_item(Players[i], "weapon_knife")
current_weapon(Players[i])
give_item(Players[i], "weapon_smokegrenade")
set_bit(g_Fonarik, Players[i])
client_cmd(Players[i], "impulse 100")
set_pev(Players[i], pev_flags, FL_CLIENT)


new j = random_num(0, sizeof(_WeaponsFree) - 1)

give_item(Players[i], _WeaponsFree[j])
cs_set_user_bpammo(Players[i], _WeaponsFreeCSW[j], _WeaponsFreeAmmo[j])
/// give two random guns

new n = random_num(0, sizeof(_WeaponsFree) - 1)
while (n == j) {
n = random_num(0, sizeof(_WeaponsFree) - 1)
}

give_item(Players[i], _WeaponsFree[n])
cs_set_user_bpammo(Players[i], _WeaponsFreeCSW[n], _WeaponsFreeAmmo[n])
}
}
emit_sound(0, CHAN_AUTO, "jbextreme/brass_bell_C.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)

new sz_msg[256];
formatex(sz_msg, charsmax(sz_msg), "^x03%L", LANG_SERVER, "UJBM_MENU_GAME_TEXT_HNS_START")
client_print(0, print_center , sz_msg)

return PLUGIN_CONTINUE
}



public cmd_game_hns()
{

g_nogamerounds = 0
g_BoxStarted = 0
jail_open()
g_GameMode = 3
g_SimonAllowed = 0
g_Simon = 0


emit_sound(0, CHAN_AUTO, "jbextreme/brass_bell_C.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)
player_hudmessage(0, 2, HUD_DELAY + 1.0, {0, 255, 0}, "%L", LANG_SERVER, "UJBM_MENU_GAME_TEXT_HNS")


set_lights("b");
server_cmd("jb_block_weapons")


new Players[32]
new playerCount, i
get_players(Players, playerCount, "ac")
for (i=0; i<playerCount; i++)
{
strip_user_weapons(Players[i])
}
set_task(30.0,"cmd_hns_start",TASK_GIVEITEMS)
for(new i=0; i<32; i++)
{
if(!is_user_connected(i) || get_user_team(i) != 2) continue;

FadeScreen(i)
set_pev(i, pev_flags, FL_FROZEN)
}

return PLUGIN_CONTINUE
}


+ na koniec pluginu
public ResetHud(id)
{
if(get_user_team(id) == 1)
set_pev(id, pev_flags, FL_CLIENT)

}

a do plugin init:

register_event("ResetHUD", "ResetHUD", "abe");

Użytkownik MarWit edytował ten post 16.08.2011 20:35

  • +
  • -
  • 0

marwit-0.png


#10 MenTo(S)

    Profesjonalista

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:171
  • GG:
  • Steam:steam
  • Imię:Sebastian
  • Lokalizacja:Kielce
Offline

Napisano 16.08.2011 21:10

Jak zrobię tak jak podałeś to w ogóle mod nie działa.

L 08/16/2011 - 22:08:53: Invalid CVAR pointer
L 08/16/2011 - 22:08:53: [AMXX] Displaying debug trace (plugin "Jail_main.amxx")
L 08/16/2011 - 22:08:53: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 08/16/2011 - 22:08:53: [AMXX]    [0] Jail_main_205255.sma::msg_motd (line 561)

public msg_motd(msgid, dest, id)
{
	if(get_pcvar_num(gp_Motd))
		return PLUGIN_HANDLED
	
	return PLUGIN_CONTINUE
}

  • +
  • -
  • 0




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

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