Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pluginde ufak bı degisiklik
#1
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>

#define PLUGIN "Yasaklisilah"
#define VERSION "1.0"
#define AUTHOR "daFFmelof"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("CurWeapon""event_curweapon""be""1=1")
}
public 
event_curweapon(id) {
    if(
get_user_weapon(id) == CSW_M249 || get_user_weapon(id) == CSW_G3SG1 || get_user_weapon(id) ==  CSW_SG550 || get_user_weapon(id) == CSW_XM1014) {
        
client_cmd(id,"drop")
        
client_print(id,print_chat,"Bu Silahi kullanmak yasaktir")
        return 
PLUGIN_HANDLED
    
}


Plugindekı "Bu Silahi kullanmak yasaktir" Yazisi Saydan gecmekte ben bu yazının hudmessage olarak gecmesını ıstıyorum
RESPECT SURF ARENA
46.20.15.92
https://www.Facebook.com/Groups/RespectCS
Reply
#2
.txt ile denedin mi ?
Messenger :[email protected]

Skype : sefa_tokgoz
Reply
#3
PHP Code:
#include <amxmodx> 
#include <amxmisc> 
#include <cstrike> 

#define PLUGIN "Yasaklisilah" 
#define VERSION "1.0" 
#define AUTHOR "daFFmelof" 


public plugin_init() { 
    
register_plugin(PLUGINVERSIONAUTHOR
     
    
register_event("CurWeapon""event_curweapon""be""1=1"

public 
event_curweapon(id) { 
    if(
get_user_weapon(id) == CSW_M249 || get_user_weapon(id) == CSW_G3SG1 || get_user_weapon(id) ==  CSW_SG550 || get_user_weapon(id) == CSW_XM1014) { 
        
client_cmd(id,"drop"
        
client_print(id,print_center,"Bu Silahi kullanmak yasaktir"
        return 
PLUGIN_HANDLED 
    


uhcakiP
Özel Plugin Kodlanır!

Steam_ID = STEAM_0:0:54912140
Steam_Nick = Ragnar Lothbrok
https://steamcommunity.com/id/lothbrok
Reply
#4
Hudmessage iyi olmaz. Pikachu'nunkini bu iş için daha elverişli.


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
tasinabilir
RESPECT SURF ARENA
46.20.15.92
https://www.Facebook.com/Groups/RespectCS
Reply
#6
Çözülmüş İsteklere taşındı.


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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Lr pluginde bunny kapama t4t1fati 4 4,521 31-08-16, 17:24
Last Post: KemalKomutan
  Plugin Ufak Ayarlar Config Setting 7 3,492 03-08-16, 20:28
Last Post: murat1366
  Pluginde hata lütfen yardım :) tarlacixx 2 4,959 10-04-15, 12:45
Last Post: kedusa
  Ufak bi yardim t4t1fati 6 2,767 20-02-15, 23:59
Last Post: eneskaraca55
  Ufak değişiklik 250 hp ibocan06 7 3,498 20-02-15, 23:54
Last Post: eneskaraca55
  250 hp plugini ufak degişiklik ibocan06 10 5,599 20-02-15, 23:52
Last Post: eneskaraca55
  Tusta Rev Ufak Bir Deişiklik memoaho123 11 4,419 14-01-15, 01:15
Last Post: Neith
  çok ufak kolay bi menü isteği Kaqan 5 4,168 10-09-14, 18:29
Last Post: Kaqan
  Ufak Bi Plugin Düzenlemesi. hasan06500 3 2,543 27-02-14, 15:35
Last Post: JDM
  Ufak Bir Soru skc0011 2 2,504 05-01-14, 21:54
Last Post: skc0011

Foruma Atla:


Users browsing this thread: 1 Guest(s)