Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
T Sustum Oyunu
#1
Baktım herkes arıyor ben de yapayım bi tane dedim

Kullanım:

CT say'den /tsustum yazdıktan sonra ekledıgı cumleyi ilk yazan otomatik olarak ct gecer

Ornek: ct "/tsustum mavi araba" yazdıktan sonra ilk "mavi araba" yazan kazanır ve ct atılır

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <hamsandwich>


#define PLUGIN "T Sustum"
#define VERSION "1.0"
#define AUTHOR "xPRoTeiNN"


new Gelen[128],Komut[10],Kalan[118]
new 
dogrukelime[128]
new 
bool:sustumbasladi false


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say","hook_say")
}


public 
hook_say(id)
{
    new 
name[32]
    
read_args(Gelen,127)
    
remove_quotes(Gelen)
    if(
cs_get_user_team(id) == CS_TEAM_CT)
    {
        
strbreak(Gelen,Komut,9,Kalan,117)
        if(
equali(Komut,"/tsustum"))
        {
            
tsustumbaslat(id)
            
sustumbasladi true
        
}
    }
    if(
sustumbasladi && cs_get_user_team(id) == CS_TEAM_T)
    {
        if(
equali(dogrukelime,Gelen))
        {
            
get_user_name(id,name,31)
            
client_print(0,print_chat,"Kazanan: %s",name)
            
client_print(0,print_chat,"Kazanan: %s",name)
            
client_print(0,print_chat,"Kazanan: %s",name)
            
client_print(0,print_chat,"Kazanan: %s",name)
            
cs_set_user_team(id,CS_TEAM_CT)
            
ExecuteHamB(Ham_CS_RoundRespawn,id)
            
sustumbasladi false
        
}
    }
}


public 
tsustumbaslat(id)
{
    
copy(dogrukelime,127,Kalan)
    
client_print(0,print_chat,"Kelimemiz: %s",dogrukelime)
    
client_print(0,print_chat,"Kelimemiz: %s",dogrukelime)
    
client_print(0,print_chat,"Kelimemiz: %s",dogrukelime)
    
client_print(0,print_chat,"Kelimemiz: %s",dogrukelime)



Attached Files
.amxx   tsustum.amxx (Size: 3.36 KB / Downloads: 230)
.sma   tsustum.sma (Size: 1.54 KB / Downloads: 438)
xPRoTeiNN


CS 1.6 : 95.173.173.115 --> Osmanli Gaming Jailbreak
TS3 : osmanlijb.ts3dns.com
Skype:ahmettmertt
Reply


Messages In This Thread
T Sustum Oyunu - by ahmetberkay - 19-07-13, 16:08
Cevap: T Sustum Oyunu - by scarty - 19-07-13, 16:41
Cevap: T Sustum Oyunu - by akcaliberkk - 19-07-13, 17:31
Cevap: T Sustum Oyunu - by scarty - 19-07-13, 17:52
Cevap: T Sustum Oyunu - by ahmetberkay - 19-07-13, 18:05
Cevap: T Sustum Oyunu - by russelst - 19-07-13, 18:33
Cevap: T Sustum Oyunu - by ahmetberkay - 19-07-13, 18:35
Cevap: T Sustum Oyunu - by Batin - 20-07-13, 02:26
Cevap: T Sustum Oyunu - by scarty - 20-07-13, 03:39
Cevap: T Sustum Oyunu - by TamEkran35 - 01-09-13, 18:34
Cevap: T Sustum Oyunu - by scarty - 01-09-13, 20:03
Cevap: T Sustum Oyunu - by peNgueN - 03-09-13, 23:26
Cevap: T Sustum Oyunu - by OnlyPeach - 04-09-13, 00:32

Possibly Related Threads…
Thread Author Replies Views Last Post
  Gelişmiş Sustum Oyunu :) peNgueN 10 7,603 21-03-15, 01:28
Last Post: cshoter
  Gelişmiş Saklanbac Oyunu. DeaDB0Y5 28 8,379 01-02-15, 02:47
Last Post: wariyor08

Foruma Atla:


Users browsing this thread: 1 Guest(s)