Z góry dzięki

To równanie zostało stworzone przy pomocy kodu LaTeX:
Edytor LaTeX online: CodeCogs.com/latex/eqneditor.php
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.
|
Slojik nie posiada znajomych
18.07.2011 12:38
04.07.2011 12:08
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <fakemeta>
#include <fun>
new t[32]
new jail[32]
new mario[32]
new gun[32]
new amx_gunroom=1
new amx_marioroom=1
new amx_jailtime=2
new shoot=1
new counter=100
public plugin_init() {
register_plugin("surf_ski_2_rules", "1.0 beta", "Nikarus")
new map[32]
get_mapname(map, 32)
if (equali(map, "surf_ski_2"))
{
register_forward(FM_CmdStart,"fwd_CmdStart")
amx_gunroom = register_cvar("amx_gunroom","1")
amx_marioroom = register_cvar("amx_marioroom","1")
amx_jailtime = register_cvar("amx_jailtime","0")
set_task(0.1, "check", 0, "", 0, "b")
}
}
public check()
{
if (counter>0)
{
counter--;
if (counter==0)
{
set_hudmessage(255, 0, 0, -1.0, 0.35, 1)
show_hudmessage(0, "Nikarus surf_ski_2_RULES plugin is WATCHING YOU")
}
}
for (new index=1; index<=get_playersnum(); index++)
{
new origin[3]
get_user_origin(index, origin)
new x=origin[0]
new y=origin[1]
new z=origin[2]
//if player in JAIL
if (x >=-625 && x<=-280 && y>=2955 && y<=3330 && z>=585 && z<=855 && get_pcvar_num(amx_jailtime)!=0)
{
if (jail[index]!=1)
t[index]=get_systime()
jail[index]=1
if ((get_systime()-t[index])>=get_pcvar_num(amx_jailtime))
{
punish_jailcamper(index)
}
}
else jail[index]=0
////////////////////
//if player in MARIOROOM
if (x >=2250 && x<=3655 && y>=230 && y<=1111 && z>=-2330 && z<=-2077 && get_pcvar_num(amx_marioroom)!=0)
{
if (mario[index]!=1)
set_user_godmode(index, 1)
mario[index]=1
}
else
{
mario[index]=0
set_user_godmode(index, 0)
}
//if player in GUNROOM
if (x >=-720 && x<=-290 && y>=-1000 && y<=-650 && z>=-156 && z<=-30 && get_pcvar_num(amx_gunroom)!=0)
{
if (gun[index]!=1)
shoot=1
gun[index]=1
}
else
{
gun[index]=0
shoot=0
}
}
}
public punish_jailcamper(index)
{
new origin[3]
get_user_origin(index, origin)
origin[0]=-405
origin[1]=2900
origin[2]=720
set_user_origin(index, origin)
}
public fwd_CmdStart(id, uc_handle, seed)
{
if ( ! shoot || ! is_user_alive(id) )
return FMRES_IGNORED
new weapon, buttons = get_uc(uc_handle, UC_Buttons)
if ( buttons & IN_ATTACK )
buttons &= ~IN_ATTACK
else if ( buttons & IN_ATTACK2 && get_user_weapon(id, weapon, weapon) == CSW_KNIFE )
buttons &= ~IN_ATTACK2
else return FMRES_IGNORED
set_uc(uc_handle,UC_Buttons,buttons)
return FMRES_HANDLED
}
28.06.2011 20:16
Wrzuć SMA bez Reklamy
26.06.2011 18:02
25.06.2011 11:08
; AMX Mod X plugins ; Admin Base - Always one has to be activated ;admin.amxx ; admin base (required for any admin-related) ;admin_sql.amxx ; admin base - SQL version (comment admin.amxx) admin_amxbans.amxx ;jesli chcesz aby amxbans nie obslugiwał adminów dodaj srednik ; na początku. amxbans.amxx ; debug ; Basic admincmd.amxx ; basic admin console commands adminhelp.amxx ; help command for admin console commands adminslots.amxx ; slot reservation multilingual.amxx ; Multi-Lingual management ; Menus menufront.amxx ; front-end for admin menus cmdmenu.amxx ; command menu (speech, settings) plmenu.amxx ; players menu (kick, ban, client cmds.) ;telemenu.amxx ; teleport menu (Fun Module required!) mapsmenu.amxx ; maps menu (vote, changelevel) pluginmenu.amxx ; Menus for commands/cvars organized by plugin ; Chat / Messages adminchat.amxx ; console chat commands antiflood.amxx ; prevent clients from chat-flooding the server scrollmsg.amxx ; displays a scrolling message imessage.amxx ; displays information messages adminvote.amxx ; vote commands ; Map related nextmap.amxx ; displays next map in mapcycle ;mapchooser.amxx ; allows to vote for next map timeleft.amxx ; displays time left on map ; Configuration pausecfg.amxx ; allows to pause and unpause some plugins statscfg.amxx ; allows to manage stats plugins via menu and commands ; Counter-Strike ;restmenu.amxx ; restrict weapons menu statsx.amxx ; stats on death or round end (CSX Module required!) ;miscstats.amxx ; bunch of events announcement for Counter-Strike ;stats_logging.amxx ; weapons stats logging (CSX Module required!) ; Enable to use AMX Mod plugins ;amxmod_compat.amxx ; AMX Mod backwards compatibility layer ; TUTAJ dopisuj samodzielnie zainstalowane pluginy: ; +---------------------------------------------------------------------------+ ; | W Panelu Administracyjnym mozesz zainstalowac dodatkowe pluginy. -==- | ; | Prosimy aby zainstalowane "recznie" pluginy dopisywac powyzej tej tabeli! | ; +---------------------------------------------------------------------------+ ; Pluginy zainstalowane z poziomu panelu: unbanmenu.amxx admin_spec_esp.amxx admin_check.amxx amx_ip.amxx autobuyfix.amxx ad_manager.amxx bad_camper.amxx bulletdamage.amxx fireinthehole.amxx grenade_trail.amxx IPlog.amxx join_leave.amxx polski_cs.amxx ultimate_ss.amxx swear_replacement.amxx speclist.amxx timeprojector.amxx timer.amxx xredirect.amxx vt_server_join.amxx surf_olympics_pl.amxx surfski2_adminmenu.amxx amp.amxx mapy.amxx hpk_pl.amxx bunnyhop.amxx plugin_trail.amxx spawnprotection.amxx weapon_icon.amxx rs.amxx regulamin.amxx fragcounter.amxx bf2medals.amxx mutemenu.amxx entity_remover.amxx