Jump to content

MadaraZMNew

Banned

MadaraZMNew last won the day on July 11 2017

MadaraZMNew had the most liked content!

Community Reputation

39 Excellent

4 Followers

About MadaraZMNew

  • Rank
    NEWLIFEZM.RANGFORT.RO

Profile Information

  • Country
    Romania
  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. mi_a fost de folos zp_save ammo multumesc mult.
  2. Addons Original il am si eu pe serveru meu da asta n_are SMA perfect addonsu GG
  3. m_am conectat name Madara
  4. Nume canal: NewLifeZM.Rangfort.ro Deținător canal: Eu Cati membrii vor activa pe acest canal: 8 ...12 sau poate mai multi
  5. daca se poate sa mi_se modifice acest plugin semi-clip Cand tin apasat pe "E" Sa trec prin Echipa mea Acest plugin este setat fara sa, Apas "E" si trece si prin zombie si prin Human "HELP PLEASE" #include <amxmodx> #include <fakemeta> #pragma semicolon 1 #define DISTANCE 120.0 #define UPDATE_FREQ 0.2 new bool:g_bSemiclip[33][33]; new bool:g_bHasSemiclip[33]; new bool:g_bSemiclipEnabled; new g_iTaskId; new g_iForwardId[3]; new g_iMaxPlayers; new g_iCvar[3]; public plugin_init( ) { register_plugin( "(Team-)Semiclip", "1.5", "Russu" ); g_iCvar[0] = register_cvar( "semiclip_enabled", "1" ); g_iCvar[1] = register_cvar( "semiclip_teamclip", "1" ); g_iCvar[2] = register_cvar( "semiclip_transparancy", "0" ); register_forward( FM_Think, "fwdThink" ); register_forward( FM_ClientCommand, "fwdClientCommand" ); if( get_pcvar_num( g_iCvar[0] ) ) { g_iForwardId[0] = register_forward( FM_PlayerPreThink, "fwdPlayerPreThink" ); g_iForwardId[1] = register_forward( FM_PlayerPostThink, "fwdPlayerPostThink" ); g_iForwardId[2] = register_forward( FM_AddToFullPack, "fwdAddToFullPack_Post", 1 ); g_bSemiclipEnabled = true; } else g_bSemiclipEnabled = false; g_iMaxPlayers = get_maxplayers( ); new ent = engfunc( EngFunc_CreateNamedEntity, engfunc( EngFunc_AllocString, "info_target" ) ); set_pev( ent, pev_classname, "task_semiclip" ); set_pev( ent, pev_nextthink, get_gametime( ) + 1.01 ); g_iTaskId = ent; } public fwdPlayerPreThink( plr ) { static id; if( is_user_alive( plr ) ) { for( id = 1 ; id <= g_iMaxPlayers ; id++ ) { if( pev( id, pev_solid ) == SOLID_SLIDEBOX && g_bSemiclip[plr][id] && id != plr ) { set_pev( id, pev_solid, SOLID_NOT ); g_bHasSemiclip[id] = true; } } } } public fwdPlayerPostThink( plr ) { static id; if( is_user_alive( plr ) ) { for( id = 1 ; id <= g_iMaxPlayers ; id++ ) { if( g_bHasSemiclip[id] ) { set_pev( id, pev_solid, SOLID_SLIDEBOX ); g_bHasSemiclip[id] = false; } } } } public fwdThink( ent ) { static i, j; static team[33]; static Float:origin[33][3]; if( ent == g_iTaskId ) { if( get_pcvar_num( g_iCvar[0] ) ) { for( i = 1 ; i <= g_iMaxPlayers ; i++ ) { if( is_user_alive( i ) ) { pev( i, pev_origin, origin ); if( get_pcvar_num( g_iCvar[1] ) ) team = get_user_team( i ); for( j = 1 ; j <= g_iMaxPlayers ; j++ ) { if( is_user_alive( j ) ) { if( get_pcvar_num( g_iCvar[1] ) && team != team[j] ) { g_bSemiclip[j] = false; g_bSemiclip[j] = false; } else if( floatabs( origin[0] - origin[j][0] ) < DISTANCE && floatabs( origin[1] - origin[j][1] ) < DISTANCE && floatabs( origin[2] - origin[j][2] ) < ( DISTANCE * 2 ) ) { g_bSemiclip[j] = true; g_bSemiclip[j] = true; } else { g_bSemiclip[j] = false; g_bSemiclip[j] = false; } } } } } } set_pev( ent, pev_nextthink, get_gametime( ) + UPDATE_FREQ ); } } public fwdAddToFullPack_Post( es_handle, e, ent, host, hostflags, player, pset ) { if( player ) { if( g_bSemiclip[host][ent] ) { set_es( es_handle, ES_Solid, SOLID_NOT ); // makes semiclip flawless if( get_pcvar_num( g_iCvar[2] ) == 1 ) { set_es( es_handle, ES_RenderMode, kRenderTransAlpha ); set_es( es_handle, ES_RenderAmt, 85 ); } else if( get_pcvar_num( g_iCvar[2] ) == 2 ) { set_es( es_handle, ES_Effects, EF_NODRAW ); set_es( es_handle, ES_Solid, SOLID_NOT ); } } } } // is there a better way to detect changings of g_iCvar[0]? public fwdClientCommand( plr ) { // use the forwards just when needed, for good performance if( !get_pcvar_num( g_iCvar[0] ) && g_bSemiclipEnabled ) { unregister_forward( FM_PlayerPreThink, g_iForwardId[0] ); unregister_forward( FM_PlayerPostThink, g_iForwardId[1] ); unregister_forward( FM_AddToFullPack, g_iForwardId[2], 1 ); g_bSemiclipEnabled = false; } else if( get_pcvar_num( g_iCvar[0] ) && !g_bSemiclipEnabled ) { g_iForwardId[0] = register_forward( FM_PlayerPreThink, "fwdPlayerPreThink" ); g_iForwardId[1] = register_forward( FM_PlayerPostThink, "fwdPlayerPostThink" ); g_iForwardId[2] = register_forward( FM_AddToFullPack, "fwdAddToFullPack_Post", 1 ); g_bSemiclipEnabled = true; } }
  6. nu mai am nevoie de acel plugin puteti da T/C
  7. Vipul are Flagul "AHSMJRDC" imi poti da sma si amxx? nu prea ma pricep cu Acest Scris sorry.
  8. Up mai astept acela nu functioneaza
  9. Nume : VIP FREE Versiune : care o fi Descriere detaliata : As dori un plugin vip free dela ora "09 Seara pnala la ora 08 Dimineata" Daca se poate sa mi_se faca printr_o comanda de Exemplu "amx_cvar start event" amx_start" Ceva de gen .. sau sa poarneasca automat ori cum sunt multumit daca mi_se face acel plugin am nevoie neaparat
  10. http://imgur.com/a/PgS5z
  11. MadaraZMNew

    Intrebare

    am Rezolvat puteti da T/C
  12. MadaraZMNew

    Intrebare

    tot degeaba.. nu are Effect...
  13. MadaraZMNew

    Intrebare

    am un server de zombie plague 6.3 si as Vrea sa stiu si eu cum sa , fac sa nu aiva Acces si playeri la comanda zp_armageddon ci sa aiva acces doar Owner Co_Owner Veteran... Am modificat din zombieplague.ini dar n_a avut Efect HELP PLEASE
  14. Rezolvat multumesc UzI puteti da T/C
×
×
  • Create New...