Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CT | T'yi Dokununca Öldürsün
#5
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <fun>

#define PLUGIN "TouchKill"
#define VERSION "1.0"
#define AUTHOR "akcaliberkk"

new bool:touchkill_enabled;

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_forward(FM_Touch"fwdTouch");
    
register_event("HLTV""event_new_round""a""1=0""2=0");
}
public 
fwdTouch(entityid) {
    if (
touchkill_enabled) {
        if( (
pev_valid(entity) && pev_valid(id)) && ( get_user_teamid ) == && get_user_team(entity) == 1) ) {
            
            
user_kill(entity)
        }
        
    }
}  
public 
event_new_round(id)
{
    
touchkill_enabled false;


touchkill_enabled = true (oyunu açar), false (oyunu kapatır)


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


Messages In This Thread
Cevap: CT | T'yi Dokununca Öldürsün - by akcaliberkk - 24-04-13, 19:10

Foruma Atla:


Users browsing this thread: 1 Guest(s)