Zarejestruj się Użytkownicy Kalendarz Zaznacz Wszystkie Fora jako Przeczytane CS FAQ Regulamin forum =w= Tani STEAM


Wróć   Forum Counter Strike > Serwer HLDS - wszytko o własnym serwerze do Counter Strike 1.6 Steam i Non Steam > Pluginy, dodatki, AMX, AMXX

Pluginy, dodatki, AMX, AMXX Tutaj piszemy o dodatkach do serwerach, pluginach, modach, AMX i AMXX


He grenade effect 0.2

- Tagi: , ,

HashJama FFA Steam 32 sloty - 193.33.176.188:27015
sponsor:


Konkurs dla aktywnych użytkowników - 10 kluczy CS 1.6+CS:CZ do wygrania

główny sponsor nagród (najtańsze klucze do gier):

najtańsze klucze steam

 
 
LinkBack Narzędzia wątku

He grenade effect 0.2

  stare
LAN4FAN is Offline
Starsza lamka
 
Postów: 75

Poziom upalenia:
-------- Doświadczenie: abstynent
Zarejestrowany: Jan 2008
   

Witam. Mam He grenade effect 0.2 z paczki nemore

Tam jest taki blad, ze jak dostanie sie granatem to dzwiek sie scisza i sie juz nie podglasnia. Czyli dostaniemy granatem, robi sie efekt wizualny i wycisza się dziwięk! (wycisza i trzeba w opcjach włączac). Ma ktos prawidlowa wersje togo pluga?

Cytat:
//#define USE_AMX

#if defined USE_AMX
#include <amxmod>
#include <VexdUM>
#else
#include <amxmodx>
#include <engine>
#endif

new gMsgScreenShake , gMsgScreenFade;

#define CVAR_STATUS "he_damage_effect"

public plugin_init() {
register_plugin("HE damage effect" , "0.2" , "v3x");
register_event("Damage" , "event_Damage" , "b" , "2>0");
register_cvar(CVAR_STATUS , "1");
gMsgScreenShake = get_user_msgid("ScreenShake");
gMsgScreenFade = get_user_msgid("ScreenFade");
}

#if defined USE_AMX
#define DEFAULT_VOLUME 0.8
#endif

#define PA_LOW 25.0
#define PA_HIGH 50.0

#if !defined USE_AMX
new Float:gVolume[33];

public client_connect(id) {
if(!is_user_bot(id)) {
query_client_cvar(id , "volume" , "cvar_result");
}
}

public cvar_result(id, const cvar[] , const value[]) {
gVolume[id] = str_to_float(value);
}
#endif

public event_Damage(id) {
if(get_cvar_num(CVAR_STATUS) <= 0
|| !is_user_connected(id)
|| !is_user_alive(id)
|| is_user_bot(id)) return;
new iWeapID, attacker = get_user_attacker(id , iWeapID);
if(!is_user_connected(attacker)) return;
if(iWeapID == 4) {
client_cmd(id , "volume 0");
set_task(0.5 , "volume_up_1" , id);
new Float:fVec[3];
fVec[0] = random_float(PA_LOW , PA_HIGH);
fVec[1] = random_float(PA_LOW , PA_HIGH);
fVec[2] = random_float(PA_LOW , PA_HIGH);
entity_set_vector(id , EV_VEC_punchangle , fVec);
message_begin(MSG_ONE , gMsgScreenShake , {0,0,0} ,id)
write_short( 1<<14 );
write_short( 1<<14 );
write_short( 1<<14 );
message_end();

message_begin(MSG_ONE_UNRELIABLE , gMsgScreenFade , {0,0,0} , id);
write_short( 1<<10 );
write_short( 1<<10 );
write_short( 1<<12 );
write_byte( 225 );
write_byte( 0 );
write_byte( 0 );
write_byte( 125 );
message_end();
}
}

public volume_up_1(id) {
client_cmd(id , "volume 0.1");
set_task(0.2 , "volume_up_2" , id);
}

public volume_up_2(id) {
client_cmd(id , "volume 0.2");
set_task(0.2 , "volume_up_3" , id);
}

public volume_up_3(id) {
client_cmd(id , "volume 0.3");
set_task(0.2 , "volume_up_4" , id);
}

public volume_up_4(id) {
client_cmd(id , "volume 0.4");
set_task(0.2 , "volume_up_5" , id);
}

public volume_up_5(id) {
client_cmd(id , "volume 0.5");
set_task(0.2 , "volume_up_6" , id);
}

public volume_up_6(id) {
client_cmd(id , "volume 0.6");
set_task(0.2 , "volume_up_7" , id);
}

public volume_up_7(id) {
client_cmd(id , "volume 0.7");
set_task(0.2 , "volume_up_8" , id);
}

public volume_up_8(id) {
#if !defined USE_AMX
client_cmd(id , "volume %f" , gVolume[id]);
#else
client_cmd(id , "volume %f" , float(DEFAULT_VOLUME));
#endif
}

  
UWAGA !!!

W tej chwili widzisz tylko pierwszy post tego tematu. Aby zobaczyć więcej wiadomości lub napisać post musisz się zalogować lub zarejestrować.

 

Narzędzia wątku

Podobne wątki
Temat Forum
Grenade Control. Pomocy!
Problem z pluginem AMX/AMXX
Grenade Realism- bug
Problem z pluginem AMX/AMXX
Liga Side-Effect.pl 1on1 AWP
Liga Counter Strike 1.6 Steam
[1] edycja Ligi Non steam OcB-effect
Liga Counter Strike 1.6 Steam
[1] edycja Ligi steam OcB-effect
Liga Counter Strike 1.6 Non Steam
damage effect
Problemy z Counter Strike 1.6 Non Steam
Effect gaming szuka 3,4 Shooterów
Klan Counter Strike 1.6 Steam szuka graczy
Effect gaming szuka 3,4 Shooterów
Klan Counter Strike 1.6 Steam szuka graczy
Grenade Sack
Pluginy, dodatki, AMX, AMXX
Szukam Pluginu do zmienienia koloru SMOKE GRENADE
Pluginy, dodatki, AMX, AMXX

Zasady Postowania
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

BB Code jest Włączony
EmotikonyWłączony
[IMG] kod jest Włączony
HTML kod jest Wyłączony
Trackbacks are Włączony
Pingbacks are Włączony
Refbacks are Wyłączony


X Przeglądasz forum jako gość, zarejestruj się aby uzyskać pełen dostęp do wiaderkowego stuff'u ganja

zalogowani nie widzą reklam


Powered by vBulletin ® =w= Edition
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Spolszczenie: vBHELP.pl - Polski Support vBulletin
Copyright © 2007-2008 Counter Strike wiaderko.com