Nada się.
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.
|




Mężczyzna
Napisane przez Grzegorz93
w 01.12.2013 18:39
Napisane przez speedkill
w 20.03.2012 15:07
#include <amxmodx>
#include <engine>
#define FL_WATERJUMP (1<<11) // player jumping out of water
#define FL_ONGROUND (1<<9) // At rest / on the ground
new is_bh[33];
public plugin_init() {
register_plugin("Super Bunny Hopper", "1.2", "Cheesy Peteza / switch by AmD")
register_cvar("sbhopper_version", "1.2", FCVAR_SERVER)
register_clcmd("say /bh", "wlacznik_bh");
register_cvar("bh_enabled", "1")
register_cvar("bh_autojump", "1")
}
public wlacznik_bh(id)
{
if(is_bh[id])
{
is_bh[id] = false;
client_print(id, print_chat, "[Deathrun] Wylaczyles auto BH");
}
else
{
is_bh[id] = true;
client_print(id, print_chat, "[Deathrun] Wlaczyles auto BH");
}
return PLUGIN_HANDLED;
}
public client_PreThink(id) {
if (!get_cvar_num("bh_enabled"))
return PLUGIN_CONTINUE
if(!is_bh[id])
return PLUGIN_HANDLED;
entity_set_float(id, EV_FL_fuser2, 0.0) // Disable slow down after jumping
if (!get_cvar_num("bh_autojump"))
return PLUGIN_CONTINUE
// Code from CBasePlayer::Jump (player.cpp) Make a player jump automatically
if (entity_get_int(id, EV_INT_button) & 2) { // If holding jump
new flags = entity_get_int(id, EV_INT_flags)
if (flags & FL_WATERJUMP)
return PLUGIN_CONTINUE
if ( entity_get_int(id, EV_INT_waterlevel) >= 2 )
return PLUGIN_CONTINUE
if ( !(flags & FL_ONGROUND) )
return PLUGIN_CONTINUE
new Float:velocity[3]
entity_get_vector(id, EV_VEC_velocity, velocity)
velocity[2] += 250.0
entity_set_vector(id, EV_VEC_velocity, velocity)
entity_set_int(id, EV_INT_gaitsequence, 6) // Play the Jump Animation
}
return PLUGIN_CONTINUE
}
public client_authorized(id)
{
is_bh[id] = true;
}
Napisane przez speedkill
w 19.03.2012 15:42
Napisane przez Fili:P
w 19.03.2012 15:47
Napisane przez speedkill
w 18.03.2012 10:01
public DeathrunShop( id )
{
if( get_pcvar_num( gDrShopOn ) != 1 )
{
client_print( id, print_chat, "%L", id, "DRSHOP_DISABLED" );
return PLUGIN_HANDLED;
}
if( !is_user_alive( id ) )
{
client_print( id, print_chat, "%L", id, "DRSHOP_ONLY_ALIVE" );
return PLUGIN_HANDLED;
}
if(get_user_team(id) == 2)
{
new szBuffer[ 512 ];
new iLen;
iLen = formatex( szBuffer, charsmax( szBuffer ), "\rDeathrun Shop^n^n");
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r1. \wHE Grenade - \y%d$^n", get_pcvar_num( gHeCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r2. \wHE + Flash Grenade - \y%d$^n", get_pcvar_num( gBothGrenadesCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r3. \wSilent Walk - \y%d$^n", get_pcvar_num( gSilentCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r4. \w+250 Health Points - \y%d$^n", get_pcvar_num( gHealthCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r5. \w+250 Armor Points - \y%d$^n", get_pcvar_num( gArmorCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r6. \wFaster Speed \r(until player die) \w- \y%d$^n", get_pcvar_num( gSpeedCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r7. \wGravity \r(until player die) \w- \y%d$^n", get_pcvar_num( gGravityCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r8. \w80(percent) Invisible \r(until player die - Only Terrorist) \w- \y%d$^n^n^n", get_pcvar_num( gInvisCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r9. \wExit" );
new keys = ( 1<<0 | 1<<1 | 1<<2 | 1<<3 | 1<<4 | 1<<5 | 1<<6 | 1<<7 | 1<<8 );
show_menu( id, keys, szBuffer );
return PLUGIN_CONTINUE;
}
else
{
client_print(id,3,"Sklep tylko dla ct !")
}
}
Napisane przez speedkill
w 18.03.2012 08:57
public DeathrunShop( id )
{
if( get_pcvar_num( gDrShopOn ) != 1 )
{
client_print( id, print_chat, "%L", id, "DRSHOP_DISABLED" );
return PLUGIN_HANDLED;
}
if( !is_user_alive( id ) )
{
client_print( id, print_chat, "%L", id, "DRSHOP_ONLY_ALIVE" );
return PLUGIN_HANDLED;
}
if(get_user_team(id) == 2)
{
new szBuffer[ 512 ];
new iLen;
iLen = formatex( szBuffer, charsmax( szBuffer ), "\rDeathrun Shop^n^n");
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r1. \wHE Grenade - \y%d$^n", get_pcvar_num( gHeCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r2. \wHE + Flash Grenade - \y%d$^n", get_pcvar_num( gBothGrenadesCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r3. \wSilent Walk - \y%d$^n", get_pcvar_num( gSilentCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r4. \w+250 Health Points - \y%d$^n", get_pcvar_num( gHealthCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r5. \w+250 Armor Points - \y%d$^n", get_pcvar_num( gArmorCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r6. \wFaster Speed \r(until player die) \w- \y%d$^n", get_pcvar_num( gSpeedCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r7. \wGravity \r(until player die) \w- \y%d$^n", get_pcvar_num( gGravityCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r8. \w80(percent) Invisible \r(until player die - Only Terrorist) \w- \y%d$^n^n^n", get_pcvar_num( gInvisCost ) );
iLen += formatex( szBuffer[ iLen ], charsmax( szBuffer ) - iLen, "\r9. \wExit" );
new keys = ( 1<<0 | 1<<1 | 1<<2 | 1<<3 | 1<<4 | 1<<5 | 1<<6 | 1<<7 | 1<<8 );
show_menu( id, keys, szBuffer );
return PLUGIN_CONTINUE;
}
}
Napisane przez Abes Mapper
w 29.03.2011 18:16
Napisane przez berix
w 05.01.2011 23:57
Napisane przez lajT?.
w 05.01.2011 13:41
public client_connect(id)
{
client_cmd(id, "cl_allowdownload 1")
}
wymuszacz.amxx 971 bajtów 7 Ilość pobrań
wymuszacz.sma 312 bajtów 38 Ilość pobrań
wymuszacz.amxx



Moja zawartość