UWAGA
W związku z upgrade'em Forum Wiaderko do vB 4.x ewentualne błędy i nieprawidłowości proszę zgłaszać w tym temacie
Serwery Counter Strike 1.6 wiaderko.com

HashJama [TP] 193.33.176.148:27015 status serwera HashJama [TP] połącz

HashJama [FFA] 193.33.176.188:27015status serwera HashJama [FFA] połącz

HashJama [DM] 193.33.176.53:27015status serwera HashJama [DM] połącz

HashJama [Aim Hs] 193.33.176.15:27015status serwera HashJama [Aim Hs] połącz

HashJama [Flags] 193.33.176.111:27015status serwera HashJama  [Flags] połącz

HashJama [AWP/HG DM] 193.33.176.50:27015status serwera HashJama [AWP/HG DM] 193.33.176.50:27015 połącz

HashJama [TP #2] 193.33.176.54:27015status serwera HashJama [TP #2] 193.33.176.54:27015 połącz

wiaderko.com [Ventrilo] v1.svoice.pl:6416status serwera wiaderko.com [Ventrilo]

SPONSOR:
pukawka.pl

Wątek: Pluginy na bronie

Pokaż wyniki od 1 do 10 z 10
  1. #1 Pluginy na bronie 
    Lamka
    Dołączył
    Aug 2008
    Posty
    8
    to jest plugin który sam edytuje i czasem sie gubie :D:D ale warto go zassać jak widać na screenie bez amx mod x bronie są normalne a po włączeniu zamieniają sie na wybrany model broni "wszystkie bronie jakie są w CS można tym pluginem chyba zmienić wygląd broni a oto co macie wrzucić do komplikatora daje zawartość pliku SMA dlatego, że niekażdy tak może jak ja dam wam też kolka moich gotowych modeli xD

    Kod:
    #include <amxmodx>
    #include <engine>
    #include <fun>
    
    new GALIL_MODEL_NAME[64] = "models/galil.mdl"
    
    public plugin_init(){
    	register_plugin("galil by Daku ","0.1","")
    	// Register my plugin, lots of thanks to RadidEskimo & Freecode
    
    	register_cvar("amx_galil_startwith", "0")
    	// Start with galil? Default is FALSE
    
    	register_cvar("amx_galil_startmsg_on", "2")
    	// You can choose to show a start message.
    	// 0 = OFF
    	// 1 = ON
    	// 2 = ON - Only when amx_galil_startwith = 1
    	// Default is 2
    
    	register_cvar("amx_galil_startmsg_msg", "These do 2x normal damage, enjoy!")
    	// Message to show when startmsg_on is enabled.
    
    	register_cvar("amx_galil_unlimitedammo", "0")
    	// Dual galils have unlimited ammo? Default is FALSE
    
    	register_cvar("amx_galil_doubledamage", "0")
    	// Dual galils do DOUBLE damage? Default is FALSE
    
    	register_event("ResetHUD","newRound","b")
    	// Call newRound() when the round is over
    
    	register_event("WeapPickup","checkModel","b","1=19")
    	// When a weapon is picked up (or bought) call checkModel()
    
    	register_event("CurWeapon","checkWeapon","be","1=1")
    	// Call checkWeapon() when shots are fired
    
    	if(get_cvar_num("amx_galil_doubledamage") == 1) {
    		register_event("Damage", "doDamage", "b", "2!0")
    		// When somebody has damage done to them, call doDamage (so we can multiply 2x)
    	}
    }
    
    public newRound(id){
    	if(get_cvar_num("amx_galil_startwith") == 1){
    		give_item(id,"weapon_galil")
    		give_item(id,"ammo_9mm")
    	}
        //
        // Basically, if you set "amx_galil_startwith" to 1..
        // every new round the user will get an galil
        //
        // The ResetHUD event calls newRound(id) for every user when
        // the new round begins.. so it will loop this for all users in game
        //
    }
    
    public client_putinserver(id){
    	new msgStr[100],msgNum,startWith
    	get_cvar_string("amx_galil_startmsg_msg", msgStr, 99)
    	msgNum = get_cvar_num("amx_galil_startmsg_on")
    	startWith = get_cvar_num("amx_galil_startwith")
    
    	if(msgNum == 2 && startWith == 1) {
    		client_print(id, print_chat, "[AMXX] Dual galil Mod: %s", msgStr)
    	}
    
    	if(msgNum == 1) {
    		client_print(id, print_chat, "[AMXX] Dual galil Mod: %s", msgStr)
    	}
    
    	//
    	// If they do start with galil, and there is a msg, show the info message
    	//
    }
    
    public plugin_precache(){
    	precache_model(GALIL_MODEL_NAME)
    	return PLUGIN_CONTINUE
    	//
    	// Just precache the model, so if the user does not have it, they have to download
    	//
    }
    
    public checkModel(id){ 
    	if (!is_user_alive(id)){
    		return PLUGIN_CONTINUE
    	}
    	// If the user that picked up the weapon is alive..
    
    	entity_set_string(id, EV_SZ_viewmodel, GALIL_MODEL_NAME)
    	// Find and change the user's galil to OUR custom model (GALIL_MODEL_NAME)..
        
    	new iCurrent
    	iCurrent = find_ent_by_class(-1,"weapon_galil")
    
    	while(iCurrent != 0) {
    		iCurrent = find_ent_by_class(iCurrent,"weapon_galil")
    	}
    
    	return PLUGIN_HANDLED
    } 
    
    public checkWeapon(id){ 
    	new plrClip, plrAmmo, plrWeap[32]
    	new plrWeapId
    
    	plrWeapId = get_user_weapon(id, plrClip, plrAmmo)
    	// Define certain variables needed in this function, get the
    	// current ID of the weapon the user picked up
    
    	if (plrWeapId == CSW_GALIL){
    		checkModel(id)
    		// If the user picked up an galil then change the model to OUR model..
    	}
    	else {
    	    // Otherwise just leave this function
    		return PLUGIN_CONTINUE
    	}
    
    	if (plrClip == 0){
    		if(get_cvar_num("amx_galil_unlimitedammo") == 1) {
    			// ^ If the user is out of ammo..
    			get_weaponname(plrWeapId, plrWeap, 31)
    			// Get the name of their weapon (galil, duh!)
    			give_item(id, plrWeap)
    			// Give them another galil (ammo)
    			engclient_cmd(id, plrWeap) 
    			engclient_cmd(id, plrWeap)
    			engclient_cmd(id, plrWeap)
    			// Sending multiple times may help
    		}
    	}
    
    	return PLUGIN_CONTINUE 
    } 
    
    public doDamage(id){
    	new plrDmg = read_data(2)
    	new plrWeap
    	new plrPartHit
    	new plrAttacker = get_user_attacker(id, plrWeap, plrPartHit)
    	new plrHealth = get_user_health(id)
    	new plrNewDmg
    
    	//
    	// plrDmg is set to how much damage was done to the victim
    	// plrHealth is set to how much health the victim has
    	// plrAttacker is set to the id of the person doing the shooting
    	//
    	// Could have put the above on one line, didn't for learning purposes (nubs may read this!) lol
    	// Example: new plrWeap, plrPartHit, plrAttacker = get_user_attacker( .. etc etc
    	//
    
    	if (plrWeap != CSW_GALIL){
    	    // If the damage was not done with an galil, just exit function..
    		return PLUGIN_CONTINUE
    	}
    
    	if (is_user_alive(id)){
    	    // If the victim is still alive.. (should be)
    		plrNewDmg = (plrHealth - plrDmg)
    		//
    		// Make the new damage their current health - plrDmg..
    		// This is actually damage 2x, becuase when they did the damage
    		// lets say it was 10, now this is subtracting 10 from current heatlh
    		// doing 20, so thats 2 times =D
    		//
    		if(plrNewDmg < 1){
    			// If the new damage will kill the player..
    
    			set_msg_block(get_user_msgid("DeathMsg"),BLOCK_ONCE);
    			// Block one the death messages to prevent 'suicide'
    
    			message_begin(MSG_ALL, get_user_msgid("DeathMsg"), {0,0,0}, 0)
    			// Start a death message, so it doesnt just say "Player Died",
    			// the killer will get the credit
    			
    			write_byte(plrAttacker)
    			// Write KILLER ID
    			
    			write_byte(id)
    			// Write VICTIM ID
                
    			write_byte(random_num(0,1))
    			// Write HEAD SHOT or not
    			// I made this random because I was unsure of how to detect
    			// if plrPartHit was "head" or not.. someone help..
    			
    			write_string("galil")
    			// Write the weapon VICTIM ID was killed with..
    			
    			message_end()
    			// End the message..
    		}
    		set_user_health(id, plrNewDmg)
    		// Then set the health, even if it will kill the player
    	}
    	return PLUGIN_CONTINUE
    }
    oto plugin na galila a model wklejamy do models a jego nazwa musi być galil.mdl




    aby mieć swoje bronie np M4, AK-47 zamieniamy słowa galil na nazwe broni np ak-47

    !!!!!! TAM GDZIE JEST DUŻĄ LITERĄ TO MUSI BYĆ DYŻĄ LITERĄ!!!!!!
    to tyle
     

  2. #2 Odp: Pluginy na bronie 
    Starsza lamka Awatar cardek1029
    Dołączył
    Sep 2008
    Wiek
    28
    Posty
    93
    Nom, fajne pluginy, tylko szkoda ze na serwa sie beda dlugo sciagac :/
     

  3. #3 Odp: Pluginy na bronie 
    Spamer
    Dołączył
    Aug 2008
    Posty
    130
    dokladnie ;/
     

  4. #4 Odp: Pluginy na bronie 
    Tata Neo i Taza Awatar bluSkay.aka
    Dołączył
    Apr 2008
    Posty
    4,348
    albo sciagnijcie modele z FPSBANANA > DevHub > Models i wklejcie do cstrike/models i macie :-P
     

  5. #5 Odp: Pluginy na bronie 
    Spamer z doświadczeniem Awatar 1910
    Dołączył
    Aug 2008
    Wiek
    17
    Posty
    364
    bluskay to nie bedzie dzialacbo tylko ty bedziesz je mial a inni nie probowalem tak trzeba pluginu nie pamietam nazwy ale na miom serwie go mam za gibona moge podac
     

  6. #6 Odp: Pluginy na bronie 
    V.I.P. Awatar JaCo
    Dołączył
    Jul 2007
    Wiek
    19
    Posty
    3,526
    fastdownload i jedziesz.

    P.S to jest twój plugin autorstwa ?
    188.165.19.22:27031 - PGC-CS.EU [GUN GAME] !! Rekrutacja Na Administratorów !!
    Wejdz -
    http://pgc-cs.eu/
    http://allegro.pl/show_item.php?item=1458311575
     

  7. #7 Odp: Pluginy na bronie 
    Lamka
    Dołączył
    Aug 2008
    Posty
    8
    nie do końca a czemu pytasz
     

  8. #8 Odp: Pluginy na bronie 
    Lamka
    Dołączył
    Aug 2008
    Posty
    8
    mam problem jak zrobić, żeby były modele granatów (nie wiem jak to w konsoli pisze he_grenade czy jakoś tak xD)
     

  9. #9 Odp: Pluginy na bronie 
    Lamka
    Dołączył
    Aug 2008
    Posty
    5
    To jest .sma, a co z amxx???
     

  10. #10 Odp: Pluginy na bronie 
    el Wymiataczos
    Dołączył
    Apr 2008
    Wiek
    20
    Posty
    533
    czytaj co pisze w opisie pluginu - masz to skopmilować, np. tu AMX Mod X - Half-Life Scripting for Pros!
     

Podobne wątki

  1. bronie
    By trytex in forum Mapy do Counter Strike
    Odpowiedzi: 2
    Ostatni post / autor: 17-04-2010, 15:09
  2. [Steam] Bronie z CZ co CS
    By Thunix in forum Instalacja gry i podstawy
    Odpowiedzi: 2
    Ostatni post / autor: 22-10-2009, 14:48
  3. Bronie
    By mati009988 in forum Szukam pluginu AMX/AMXX
    Odpowiedzi: 2
    Ostatni post / autor: 03-08-2009, 20:21
  4. Bronie w Cs 1.6
    By Szefu! in forum Problemy z CS 1.6
    Odpowiedzi: 10
    Ostatni post / autor: 24-07-2009, 10:38
  5. Bronie :(
    By kriszna in forum Problemy i konfiguracja AMXX
    Odpowiedzi: 2
    Ostatni post / autor: 05-06-2009, 14:56
  6. Bronie
    By peperoni_xD in forum Mapy do Counter Strike
    Odpowiedzi: 5
    Ostatni post / autor: 19-09-2008, 11:51
  7. Bronie??
    By >>Surf^Clan<<MaRiO^^ in forum Problemy z CS 1.6
    Odpowiedzi: 3
    Ostatni post / autor: 15-08-2008, 19:56
  8. bronie ^^
    By klompa in forum Problemy z CS 1.6
    Odpowiedzi: 4
    Ostatni post / autor: 27-01-2008, 23:37
  9. Bronie itp
    By Bi_3 in forum Problemy z CS 1.6
    Odpowiedzi: 3
    Ostatni post / autor: 26-01-2008, 21:14
  10. Bronie
    By MaRo281 in forum Problemy z CS 1.6
    Odpowiedzi: 8
    Ostatni post / autor: 22-10-2007, 18:02

Odwiedzający znaleźli tę stronę szukając:

pluginy na bronie

pluginy na wyglond broni do cs

pluginy do cs 1.6 cod mod wygląd broni

neo jaki ma wyglad m4 a ak cs

plugin cs bronie

pluginy na bronie

fajne pluginy broni do cs

pluginy na bronie do csa

cs1.6 plugin na bazooke

pluginy cs 1.6 broni

pluginy cs bronie do kupienia

jak zmienić w pluginie wygląd broni

pluginy do cs 1.6 wygląd broni

jak zmienić bronie w cs plugin

plugin na bronie cs.1.6

wyglad broni do cs 1.6 ak 47 i m4

pluginy na broń

plugin na dwie bronie

plugin wyglond broni

nazwy broń do pluginów cs

bronie plugins

nazwy broni plugin cs

Uprawnienia umieszczania postów
  • Nie możesz zakładać nowych tematów
  • Nie możesz pisać wiadomości
  • Nie możesz dodawać załączników
  • Nie możesz edytować swoich postów
  •