Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Boşalma | Ejeculate | v0.1
Schwertle dateline='' Wrote: Hakkında

Plugin Adı: Boşalma | Ejeculate
Plugin Versiyonu: 0.1
Plugin Dili: %93 Türkçe
Plugin Türü: Jail Break

Açıklama:

Ölen bir oyuncunun üzerine boşalmayı sağlayan harika bir jail eklentisidir... Boşalırken oyuncunun önünden kesik çizgilerle beyaz bir şey akar Smile Sesler gelir aaah ohhh diye Smile

Sma İçerik
[GIZLE="Sma İçeriğini"]
PHP Code:
#include <amxmodx> 

new count_ejaculate[33]
new 
bool:EjaculateFlag[33]
new 
bool:aim[33]
new 
counter[33]
#if !defined NO_CS_CZ
new player_origins[33][3]
#endif

public ejaculate_on_player(id
{
    
    if (
get_cvar_num("amx_maxejaculations")==0
        return 
PLUGIN_HANDLED 
    
if (!is_user_alive(id)) 
        return 
PLUGIN_HANDLED 
    
if ( (get_cvar_num("amx_ejaculate_admin")==1) && !(get_user_flags(id) & ADMIN_LEVEL_A) )
    {
        
client_print(id,print_console,("Bu Komutu kullanamazsin."))
        return 
PLUGIN_HANDLED
    
}
    if(
EjaculateFlag[id])
        return 
PLUGIN_HANDLED
    
    
#if !defined NO_CS_CZ
    
new player_origin[3], players[32], inum=0distlast_dist=99999last_id 
    
    get_user_origin
(id,player_origin,0
    
get_players(players,inum,"b"
    if (
inum>0) { 
        for (new 
i=0;i<inum;i++) { 
            if (
players[i]!=id) { 
                
dist get_distance(player_origin,player_origins[players]) 
                if (
dist<last_dist) { 
                    
last_id players 
                    last_dist 
dist 
                

            } 
        } 
        if (
last_dist<80) { 
            
#endif
            
            
new maxtimes get_cvar_num("amx_maxejaculations")
            
            if (
count_ejaculate[id] > get_cvar_num("amx_maxejaculations")) { 
                
client_print(id,print_chat,"Bir oyuncu maksimum %d saniye bosalabilir !"maxtimes)
                return 
PLUGIN_CONTINUE 
            
}
            new 
player_name[32
            
get_user_name(idplayer_name31)
            
#if !defined NO_CS_CZ
            
new dead_name[32];
            
get_user_name(last_iddead_name31)
            
client_print(0,print_chat,"%s Attiriyor Hemde %s'nin Olusune"player_namedead_name)
            
            
#else
            
            
client_print(0,print_chat,"%s Is Ejaculating !!"player_name)
            
            
#endif
            
count_ejaculate[id]+=1
            
new ids[1]
            
ids[0]=id
            EjaculateFlag
[id]=true
            aim
[id]=false
            counter
[id]=0
            emit_sound
(idCHAN_VOICE"ejaculate/ejaculate.wav"1.0ATTN_NORM0PITCH_NORM
            
set_task(1.0,"make_ejaculate",4210+id,ids,1,"a",10)
            
#if !defined NO_CS_CZ
        
}
        else
        {
            
client_print(id,print_chat,"Etrafinda Olmus Biri Yok Bosalamazsin")
            return 
PLUGIN_HANDLED
        
}
    }
    
#endif
    
    
return PLUGIN_HANDLED
}

public 
sqrt(num

    new 
div num 
    
new result 
    
while (div result) { 
        
div = (div result) / 
        result 
num div 
    

    return 
div 


public 
make_ejaculate(ids[]) 

    new 
id=ids[0]
    new 
vec[3
    new 
aimvec[3
    new 
velocityvec[3
    new 
length 
    get_user_origin
(id,vec
    
get_user_origin(id,aimvec,3
    new 
distance get_distance(vec,aimvec
    new 
speed floatround(distance*1.9)
    
    
velocityvec[0]=aimvec[0]-vec[0
    
velocityvec[1]=aimvec[1]-vec[1
    
velocityvec[2]=aimvec[2]-vec[2
    
    
length=sqrt(velocityvec[0]*velocityvec[0]+velocityvec[1]*velocityvec[1]+velocityvec[2]*velocityvec[2]) 
    
    
velocityvec[0]=velocityvec[0]*speed/length 
    velocityvec
[1]=velocityvec[1]*speed/length 
    velocityvec
[2]=velocityvec[2]*speed/length 
    
    message_begin
(MSG_BROADCAST,SVC_TEMPENTITY)
    
write_byte(101)
    
write_coord(vec[0])
    
write_coord(vec[1])
    
write_coord(vec[2])
    
write_coord(velocityvec[0]) 
    
write_coord(velocityvec[1]) 
    
write_coord(velocityvec[2]) 
    
write_byte(6// color
    
write_byte(160// speed
    
message_end()
    
    
counter[id]++
    if(
counter[id]==10)
        
EjaculateFlag[id]=false


public 
death_event() 

    new 
victim read_data(2)
    
#if !defined NO_CS_CZ      
    
get_user_origin(victim,player_origins[victim],0
    
#endif
    
    
if(EjaculateFlag[victim]) 
        
reset_ejaculate(victim)
    
    return 
PLUGIN_CONTINUE 
}

public 
reset_ejaculate(id
{
    if(
task_exists(4210+id))
        
remove_task(4210+id)
    
emit_sound(id,CHAN_VOICE,"ejaculate/ejaculate.wav"0.0ATTN_NORM0PITCH_NORM
    
EjaculateFlag[id]=false
    
    
return PLUGIN_CONTINUE 
}

public 
reset_hud(id)
{
    if(
task_exists(4210+id))
        
remove_task(4210+id)
    
emit_sound(id,CHAN_VOICE,"ejaculate/ejaculate.wav"0.0ATTN_NORM0PITCH_NORM
    
EjaculateFlag[id]=false
    
    count_ejaculate
[id]=1
    
    
return PLUGIN_CONTINUE 


public 
ejaculate_help(id
{
    
client_print(idprint_chat, ("Sunucumuza girerken otomatik bosalma tusu Z'dir"))
    
client_print(idprint_chat, ("Degistirmek icin konsola assagidakini yazin"))
    
client_print(idprint_chat, ("Ornek: bind ^"z^" ^"bosalma^""))
    
    return 
PLUGIN_CONTINUE
}

public 
handle_say(id
{
    new 
said[192]
    
read_args(said,192)
    
remove_quotes(said)
    
    if( ((
containi(said"ejaculate") != -1) && !(containi(said"/ejaculate") != -1))
    || ((
containi(said"ejaculer") != -1) && !(containi(said"/ejaculer") != -1)) ) 
    {
        
client_print(idprint_chat, ("Bosalma Yardim Icin say /bosalma Yazin"))
    }

    return 
PLUGIN_CONTINUE
}

public 
plugin_precache() 

    if (
file_exists("sound/ejaculate/ejaculate.wav"))
    
precache_sound("ejaculate/ejaculate.wav")    
    
    return 
PLUGIN_CONTINUE 
}

public 
client_connect(id)
{
    
EjaculateFlag[id]=false
    count_ejaculate
[id]=1
    
    
return PLUGIN_CONTINUE
}

public 
client_disconnect(id)
{
    
reset_hud(id)
    
    return 
PLUGIN_CONTINUE
}

public 
plugin_init() 

    
register_plugin("AMX Ejaculate","0.1","KRoTaL"
    
register_clcmd("ejaculate","ejaculate_on_player",0,"- Ejaculate on a dead player"
    
register_clcmd("ejaculer","ejaculate_on_player",0,"- Ejaculate on a dead player")
    
register_clcmd("bosalma","ejaculate_on_player",0,"- Ejaculate on a dead player")
    
register_clcmd("say /ejaculate","ejaculate_help",0,"- Displays Ejaculate help")
    
register_clcmd("say /bosalma","ejaculate_help",0,"- Displays Ejaculate help")
    
register_clcmd("say /ejaculer","ejaculate_help",0,"- Displays Ejaculate help")
    
register_clcmd("say","handle_say")
    
register_cvar("amx_maxejaculations","6")
    
register_cvar("amx_ejaculate_admin","0")
    
register_event("DeathMsg","death_event","a"
    
register_event("ResetHUD""reset_hud""be")

[/GIZLE]

Komutlar


Cvar Komutları:

PHP Code:
amx_maxejaculations 6 // Kaç kez boşalma yapılsın?
amx_ejaculate_admin 0 // 1:adminlere de boşalma sınırı olsun 0:olmasın 

Oyuncu Komutları:

PHP Code:
say /bosalma //Oyunculara boşalmanın nasıl yapılcağı hakkında bilgi verir.
bind "v" "bosalma" // Bu komutu konsola gönderen kişi v tuşu ile boşalabilir. 

Kurulum

=> SCH-Bosalma.amxx dosyasını */cstrike/addons/amxmodx/plugins dizinine atınız,
=> SCH-Bosalma.sma dosyasını */cstrike/addons/amxmodx/scripting dizinine atınız,
=> SCH-Bosalma.amxx yazısını */cstrike/addons/amxmodx/configs/plugins.ini dosyasının en alt satırına yazınız,
=> sound klasörünü*/cstrike/ dizinine atınız.
=> Son olarak mapi değiştiriniz.
Şifre

Code:
csplague.com

İndir / Download

asdasdasdasd[/i][/i][/i]
Reply


Messages In This Thread
[No subject] - by NiCoMeDiA - 24-12-11, 20:15
[No subject] - by burc ugur - 24-12-11, 23:19
[No subject] - by JocqeR` - 25-12-11, 00:31
[No subject] - by kemal3432 - 25-12-11, 00:46
asdaf gad ga - by asdf - 05-01-12, 23:06
[No subject] - by emre4312 - 06-01-12, 17:12
[No subject] - by zeichen - 06-01-12, 18:47
[No subject] - by ßyNarkoz - 06-01-12, 20:58
[No subject] - by NiCoMeDiA - 06-01-12, 21:11
[No subject] - by ~aLone~ - 06-01-12, 22:36
[No subject] - by trzerotr - 07-01-12, 18:34
[No subject] - by edile86 - 08-01-12, 06:42
[No subject] - by skylineww - 08-01-12, 17:13
[No subject] - by kaptan647 - 08-01-12, 19:09
[No subject] - by 33eqeS - 13-01-12, 00:14
[No subject] - by n4me - 13-01-12, 01:21
[No subject] - by canavar30 - 13-01-12, 10:22
[No subject] - by muzaffer1 - 14-01-12, 01:28
[No subject] - by DrugStarr - 14-01-12, 22:48
[No subject] - by DioJeN - 15-01-12, 01:09
[No subject] - by Fearless31 - 15-01-12, 15:56
[No subject] - by DeL_ - 15-01-12, 16:57
[No subject] - by okanbaba1234 - 15-01-12, 17:33
[No subject] - by rahvan - 15-01-12, 18:09
[No subject] - by dodoxdodo - 15-01-12, 20:08
[No subject] - by yoktur - 16-01-12, 00:15
[No subject] - by cenkral35 - 16-01-12, 00:24
[No subject] - by CryTek - 16-01-12, 15:48
[No subject] - by parlakis - 16-01-12, 20:17
[No subject] - by Furkan Dize - 17-01-12, 01:05
[No subject] - by ahmet00 - 18-01-12, 12:52
[No subject] - by ahmet00 - 18-01-12, 12:54
[No subject] - by Leqendy1 - 18-01-12, 22:57
[No subject] - by c4* - 18-01-12, 23:04
[No subject] - by KaraBela1969 - 19-01-12, 14:49
[No subject] - by 1997_00 - 19-01-12, 16:53
[No subject] - by Tylol - 19-01-12, 22:08
[No subject] - by karayikim1 - 22-01-12, 00:07
[No subject] - by firzen16 - 28-01-12, 21:00
[No subject] - by ScionLex - 29-01-12, 17:34
[No subject] - by MMTHackers - 29-01-12, 18:30
[No subject] - by Selcuk11 - 29-01-12, 21:15
[No subject] - by menderes88 - 29-01-12, 21:23
[No subject] - by $ervante$ - 30-01-12, 13:46
[No subject] - by serkan - 31-01-12, 00:23
[No subject] - by panpaclan - 31-01-12, 05:52
[No subject] - by Descar - 31-01-12, 10:42
[No subject] - by keserkafa - 31-01-12, 20:52
[No subject] - by BLooDGaMinG - 01-02-12, 05:03
[No subject] - by atahanayg - 01-02-12, 17:37
[No subject] - by KenNy - 02-02-12, 11:14
[No subject] - by By.ParqaLi - 03-02-12, 16:41
[No subject] - by veli067 - 04-02-12, 12:23
[No subject] - by furkan1507 - 04-02-12, 18:23
[No subject] - by zazazuha - 04-02-12, 19:32
eyw kardesım... Güzel - by berkaykara - 04-02-12, 22:05
[No subject] - by ugurknt - 05-02-12, 05:52
[No subject] - by karlosberke123 - 05-02-12, 14:50
[No subject] - by atmaca123 - 05-02-12, 19:03
[No subject] - by KaFa-DaR - 07-02-12, 19:32
[No subject] - by composedly - 09-02-12, 16:37
[No subject] - by cshalis - 10-02-12, 00:55
[No subject] - by semih52300 - 10-02-12, 11:49
[No subject] - by Furkan Ot - 11-02-12, 19:40
[No subject] - by serkan1121 - 14-02-12, 14:52
[No subject] - by MrMuhammt - 14-02-12, 17:56
[No subject] - by erce53 - 16-02-12, 13:57
[No subject] - by nokia - 18-02-12, 03:10
[No subject] - by cinaroglu - 18-02-12, 13:31
[No subject] - by atilao2 - 19-02-12, 02:30
[No subject] - by bymemoxxx - 19-02-12, 03:20
[No subject] - by kanka3838 - 21-02-12, 18:57
[No subject] - by 664455 - 26-02-12, 08:33
Cevap: Boşalma | Ejeculate | v0.1 - by erik001 - 27-03-13, 20:16

Foruma Atla:


Users browsing this thread: 1 Guest(s)