Jump to content

me KLAUS

Membru
  • Posts

    36
  • Joined

  • Last visited

Posts posted by me KLAUS

  1. Avatar/Semnatura/Logo/Banner/etc :Avatar
    Tema pozei / Stock-ul dorit ( obligatoriu ) :Cs / http://imgur.com/y4yx3FB
    Text principal :NIKLAUS
    Text secundar ( rangfort / www.rangfort.ro / nume server ) : RANGFORT
    Alte precizari : Niste efecte,daca se poate

    Dimensiuni avatar ( 150 x 250 SAU 150 x 300 ) : 150x300

  2. Si eu am avut aceeasi problema pe windows xp,i-am dat un reinstall la cs si a mers,daca nu merge ia  msvcr70.dll si copieaza-l in windows/system32 .

     

    Sau reinstealaza toate driverele placii video

  3. Ti-l fac in 10 min,dau edit

     

    Edit:

    #include < amxmodx >
    #include < engine >
    #include < cstrike >
    #include < hamsandwich >
     
    new const g_szHatModel[ CsTeams ][ ] = {
    "",
    "models/santahat.mdl",
    "models/santahat_blue.mdl",
           "" 
    };
     
    new g_iHats[ 33 ];
     
    public plugin_init( ) {
    register_plugin( "Santa Hat + Snow", "1.3", "xPaw" );
     
    register_cvar( "santa_hat", "1.3", FCVAR_SERVER );
     
    register_event( "TeamInfo", "EventTeamInfo", "a" );
     
    RegisterHam( Ham_Spawn, "player", "FwdHamPlayerSpawn", 1 );
    }
     
    public plugin_precache( ) { 
    //  create_entity( "env_snow" );
     
    precache_model( g_szHatModel[ CS_TEAM_T ] );    
    precache_model( g_szHatModel[ CS_TEAM_CT ] ); 
    }
     
    public client_disconnect( id )     
    if( is_valid_ent( g_iHats[ id ] ) )         
    remove_entity( g_iHats[ id ] ) ;
     
    public FwdHamPlayerSpawn( const id ) {     
    if( is_user_alive( id ) ) {         
    new iEntity = g_iHats[ id ];
     
    if( !is_valid_ent( iEntity ) ) {            
    if( !( iEntity = g_iHats[ id ] = create_entity( "info_target" ) ) )                
    return;
     
    new CsTeams:iTeam = cs_get_user_team( id );                       
      
    if( iTeam != CS_TEAM_T && iTeam != CS_TEAM_CT )                 
    iTeam = CS_TEAM_T;                         
    entity_set_model( iEntity, g_szHatModel[ iTeam ] );             
    entity_set_int( iEntity, EV_INT_movetype, MOVETYPE_FOLLOW );             
    entity_set_edict( iEntity, EV_ENT_aiment, id );        
    }    
    } 
    }
     
    public EventTeamInfo( ) {    
    new id = read_data( 1 ), iEntity = g_iHats[ id ];
     
    if( !is_valid_ent( iEntity ) ) {       
      if( iEntity > 0 )           
      g_iHats[ id ] = 0;
     
    return;    
    }
     
    new szTeam[ 2 ];     
    read_data( 2, szTeam, 1 );
     
    if( szTeam[ 0 ] == 'C' )         
    entity_set_model( iEntity, g_szHatModel[ CS_TEAM_CT ] );
    else
    entity_set_model( iEntity, g_szHatModel[ CS_TEAM_T ] ); 
    }

    Daca nu functioneaza,imi spui,ca nu am mai facut de mult din astea

  4. Grenadele:

    #include <amxmodx>
    #include <fakemeta>
    #include <hamsandwich>
    #include <fakemeta_util>
    
    new g_Enable;
    new g_bwEnt[33];
    
    
    new const model_nade_world[] = "models/snowballs/w_snowball.mdl" 
    new const model_nade_view[] = "models/snowballs/v_snowball.mdl" 
    new const model_trail[] = "sprites/laserbeam.spr"
    new on
    new rendering
    new trail
    
    //For snowball trail
    new g_trail
    public plugin_init() {
       register_plugin( "Christmass", "1.0", "anakin_cstrike" );
       register_cvar("santa_hat", "1.1", FCVAR_SERVER);
       g_Enable = register_cvar("amx_santahat", "1");
       
       RegisterHam(Ham_Spawn, "player", "fwHamPlayerSpawnPost", 1);
       
       on = register_cvar("snowballs_on","0")
       if(get_pcvar_num(on))
       {
          rendering = register_cvar("snowballs_rendering","1")
          trail = register_cvar("snowballs_trail","1")
          
          register_forward(FM_SetModel,"forward_model")
          
          register_event("CurWeapon","func_modelchange_hook","be","1=1","2=4","2=9","2=25")
       }
    }
    
    public plugin_precache()
    {
       engfunc(EngFunc_PrecacheModel,model_nade_world)
       engfunc(EngFunc_PrecacheModel,model_nade_view)
       engfunc(EngFunc_PrecacheModel,model_nade_view)
       
       engfunc ( EngFunc_CreateNamedEntity, engfunc( EngFunc_AllocString, "env_snow" ) );
       
       g_trail = engfunc(EngFunc_PrecacheModel,model_trail)
       
    }
    
    public fwHamPlayerSpawnPost( const player ) { // Cleanup by arkshine
       if ( get_pcvar_num( g_Enable ) && is_user_alive( player ) && !pev_valid ( g_bwEnt[ player ] ) ) {
          g_bwEnt[ player ] = engfunc ( EngFunc_CreateNamedEntity, engfunc( EngFunc_AllocString, "info_target" ) );
          set_pev( g_bwEnt[ player ], pev_movetype, MOVETYPE_FOLLOW );
          set_pev( g_bwEnt[ player ], pev_aiment, player );
          engfunc( EngFunc_SetModel, g_bwEnt[ player ], "" );
       }
    }
    
    public func_modelchange_hook(id)
       set_pev(id, pev_viewmodel2,model_nade_view)
       
    public forward_model(entity,const model[])
    {
       if(!pev_valid(entity))
          return FMRES_IGNORED
       
       if ( model[ 0 ] == 'm' && model[ 7 ] == 'w' && model[ 8 ] == '_' )
       {
          switch ( model[ 9 ] )
          {
             case 'f' :
             {
                engfunc ( EngFunc_SetModel, entity, model_nade_world )
                if(get_pcvar_num(trail))
                {
                   fm_set_trail(entity,255,255,255,255)
                }
                if(get_pcvar_num(rendering))
                {
                   fm_set_rendering ( entity, kRenderFxGlowShell, 255, 255, 255, kRenderNormal, 255 )
                }
          
             }
             case 'h' :
             {
                engfunc ( EngFunc_SetModel, entity, model_nade_world )
                if(get_pcvar_num(trail))
                {
                   fm_set_trail(entity,255,0,0,255)
                }
                if(get_pcvar_num(rendering))
                {
                   fm_set_rendering ( entity, kRenderFxGlowShell, 255, 0, 0, kRenderNormal, 255 )
                }
             }
             case 's' :
             {
                engfunc ( EngFunc_SetModel, entity, model_nade_world )
                if(get_pcvar_num(trail))
                {
                   fm_set_trail(entity,0,255,0,255)
                }
                if(get_pcvar_num(rendering))
                {
                   fm_set_rendering ( entity, kRenderFxGlowShell, 0, 255, 0, kRenderNormal, 255 )
                }
             }
          }
          return FMRES_SUPERCEDE
       }
        
       return FMRES_IGNORED
    }
    stock fm_set_trail(id,r,g,b,bright)
    {
       message_begin(MSG_BROADCAST, SVC_TEMPENTITY)
       write_byte(TE_BEAMFOLLOW)              
       write_short(id)         
       write_short(g_trail)        
       write_byte(25)              
       write_byte(5)               
       write_byte(r)             
       write_byte(g)               
       write_byte(                
       write_byte(bright)                
       message_end()

    C4:

    http://www.girlshare.ro/31875826.4

     

    Te descurci cu ele sau ai nevoie de ajutor?

     

    Edit:In loc de costume la jucatori,vrei niste caciulite? Pentru ca ala cu costum poate sa faca lag

  5. #include <amxmodx>
    #define MAX_GROUPS 10
    new g_groupNames[MAX_GROUPS][] = {
    "[1] => Fondator <=",
    "[2] => Owner <=",
    "[3] => Co-Owner <=",
    "[4] => God <=",
    "[5] => Semi-God <=",
    "[6] => Moderator <=",
    "[7] => Administrator <=",
    "[8] => Helper <=",
    "[9] => Slot <=",
    "[10] => V.I.P <=",
    }
    new g_groupFlags[MAX_GROUPS][] = {
    "abcdefghijklmnopqrstu",
    "abcdefghijklmnopqrs",
    "abcdefijklmnopqrs",
    "bcdefijklmnopqr",
    "bcdefijmnop",
    "bcdefijmno",
    "bcdefij",
    "bceij",
    "b",
    "abtim"
    }
    new g_groupFlagsValue[MAX_GROUPS]
    public plugin_init() {
    register_plugin("ADMIN who", "0.1", "www.pluginuri.ro / CPL pro")
    register_concmd("admin_who", "cmdWho", 0)
    register_concmd("amx_who", "cmdWho", 0)
    for(new i = 0; i < MAX_GROUPS; i++) {
    g_groupFlagsValue[i] = read_flags(g_groupFlags[i])
    }
    }
    public cmdWho(id) {
    new players[32], inum, player, name[32], i, a
    get_players(players, inum)
    console_print(id, "ADMINI ONLINE")
    for(i = 0; i < MAX_GROUPS; i++) {
    console_print(id, "-%s-", g_groupNames[i])
    for(a = 0; a < inum; ++a) {
    player = players[a]
    get_user_name(player, name, 31)
    if(get_user_flags(player) == g_groupFlagsValue[i]) {
    console_print(id, "%s", name)
    }
    }
    }
    console_print(id, "ADMINI ONLINE")
    return PLUGIN_HANDLED
    }
×
×
  • Create New...