Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[JB] Aim İnfo Default
#1
Selamun aleyküm resimde gördüğünüz gibi Tye bakınca kırmızı ctye bakınca mavi şu şekilde değiştirilmesini istiyorum
Yine renkler öyle kalıcak yani T ise kırmızı ct ise mavi fakat CT Tye bakınca (ve adama tuttuğunda centerda olursa iyi olur yani şu Advantec da center player name varya onun gibi
[ MAHKUM: %s(ADI) | CANI: %d | %d AKCESI VAR ] (kırmızı)

[ %d ELDIR GARDIYAN: %s(ADI) | CANI: %d ] (mavi)
(restart atılınca bu kaç eldir gardiyan olayı sıfırlansın yani diyelim 10 eldir gardiyan (10 round) bu tekrar 0 olsun yapan arkadaşlara şimdiden teşekkürler...


Attached Files
.jpg   csplague.JPG (Size: 5.35 KB / Downloads: 171)
Reply
#2
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <jail>

#define PLUGIN "[JB] Aim Info"
#define VERSION "1.0"
#define AUTHOR "akcaliberkk"

new gMsgStatusText;
new 
gRelation;
new 
guard_count[33];
new 
current_team[33];

public 
plugin_init( )
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("StatusValue""EventStatusValue_Relation""b""1=1" );
    
register_event("StatusValue""EventStatusValue_PlayerID""b""1=2""2>0" );
    
register_event("HLTV""eNewRound""a""1=0""2=0"
    
register_event("TextMsg""eRestart""a""2&#Game_C""2&#Game_w"
    
register_event"TeamInfo""eTeamChange""a" )
    
gMsgStatusText get_user_msgid"StatusText" );
}

public 
EventStatusValue_Relation(const id)
{
    
gRelation read_data(2)
    
message_begin(MSG_ONEgMsgStatusText_id)
    
write_byte(0)
    
write_string("")
    
message_end()
}

public 
EventStatusValue_PlayerID(const id)
{
    if(!
gRelation) return
    
    new 
Uid read_data(2)
    
    new 
szMessage[128]
    switch(
get_user_team(Uid)) {
        
        case 
1formatex(szMessagecharsmax(szMessage), "[ MAHKUM: %%p1 | CANI: %d | %i AKCESI VAR ]"get_user_health(Uid), jb_get_user_packs(Uid))
        case 
2formatex(szMessagecharsmax(szMessage), "[ %d ELDIR GARDIYAN: %%p1 | CANI: %d ]",guard_count[Uid], get_user_health(Uid))
        default: 
formatex(szMessagecharsmax(szMessage), "")
    }
    
    
gRelation 0;
    
    
message_begin(MSG_ONEgMsgStatusText_id)
    
write_byte(0)
    
write_string(szMessage)
    
message_end()
}
public 
eTeamChange() {
    
    static 
idid read_data(1)
    static 
szTeam[2]; read_data(2szTeam)
    
    if (
current_team[id] != szTeam[0]) {
        
        
current_team[id] = szTeam[0]
        
        switch(
szTeam[0]) {
            
            case 
'T': {
                
guard_count[id] = 0;
            }
            case 
'C': {
                
guard_count[id] = 1;
            }
            case 
'S':{
                
guard_count[id] = 0;
            }
        }
    }
}  
public 
eNewRound() {
    new 
players[32],inum;
    
get_players(players,inum)
    for(new 
i;i<inum;i++ ) {
        if(
get_user_team(players[i]) == 2guard_count[players]++
    }
}
public 
eRestart() {
    new 
players[32],inum;
    
get_players(players,inum)
    for(new 
i;i<inum;i++ ) {
        
guard_count[players] = 0;
    }


Bir dene sorun olursa düzeltiriz.[/i][/i][/i]


CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz:
destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/

Reply
#3
Hacım new game a addons kurdum normalde pluginleri öyle deniyorum pod bott var fakat bu denediğimde sanırım botlarla alakalı bir durum o yüzden çalışmadı plugins.inide en üste yazdım gene de olmadı sen bi deneyip yada bi arkadaş deneyip fotoğrafını atabilir mi acaba ?
Reply
#4
Bende potti botla denemiştim çalışıyor Big Grin

[Image: 2hedmpx.jpg]


CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz:
destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/

Reply
#5
Eyvallah hacım sağolasın Smile
Reply
#6
Aga denedim normal serverdada olmadı acaba bende mi bi sorun var anlamadım en üste yazdım olmadı en alta yazdım olmadı
Reply
#7
amx_plugins yazıp pluginin durumunu kontrol et ?


CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz:
destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/

Reply
#8
unknown unknown unknown osaiminfo.amxx bad load
Reply
#9
jail kurulu mu ?


CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz:
destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/

Reply
#10
Kurulu hacı
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Server İnfo Block SensoryCortex 14 4,625 26-07-14, 08:05
Last Post: JellyB0N
  [JB] Default Player Model [Ayrıntı İçerde] Furkan Dize 3 3,684 11-03-13, 19:56
Last Post: akcaliberkk

Foruma Atla:


Users browsing this thread: 1 Guest(s)