Bizdeki şansta ne şans be oyunyöneticisinde geçmedi .(
Bizdeki şansta ne şans be oyunyöneticisinde geçmedi .(
@JDM Hani Şu Yazı Varya(Altta Belirttim)
Bu Yazı Çıkınca Alarm Seside Çıkmasını İstiyorum.Alarm Sesinin Yolu ;PHP- Kodu:
show_hudmessage(i, "Dikkat: Mahkumlardan biri silah aldi!")
Alarm Sesi İse ;PHP- Kodu:
sound/misc/alarm.mp3
https://www.mediafire.com/download/9...Alarm+Sesi.rar
EDIT:
Ayrıca Compile Ederken 2 Tane Hata Veriyor ;
Konu Nobb tarafından (25-08-14 Saat 20:43 ) değiştirilmiştir.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
En İyi Konularım:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
color="#ff0000">CSPLAGUE.com
// GünceL //
Konuya Davetlisin @JDM![]()
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
En İyi Konularım:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
color="#ff0000">CSPLAGUE.com
PHP- Kodu:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <hamsandwich>
#include <jail>
#include <fun>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
#define DMG_GRENADE ( 1 << 24 )
new bool:aldi[33]
new g_item1[33]
new g_item2[33]
new g_item3[33]
new g_item5[33]
new g_item6[33]
public plugin_precache() {
precache_sound("misc/alarm.mp3")
}
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /ctshop","ShowCTShop")
RegisterHam(Ham_TakeDamage,"player","FwdTakeDamage",0)
register_event("CurWeapon","Event_Change_Weapon", "be", "1=1")
}
public ShowCTShop(id) {
if(!uygun(id, 2) || aldi[id]) return PLUGIN_HANDLED
new menu = menu_create("Ct Shop","ct_handler")
menu_additem(menu, "FBI Korumasi #1 TL", "1", 0)
menu_additem(menu, "Kristal Yelek #2 TL", "2", 0)
menu_additem(menu, "Zincir Yelek #3 TL", "3", 0)
menu_additem(menu, "250 Saglik + 250 Zirh #1 TL", "4", 0)
menu_additem(menu, "Radar #2 TL", "5", 0)
menu_additem(menu, "Mahkum Tehlike Dedektoru #2 TL", "6", 0)
menu_setprop(menu, MPROP_EXIT, MEXIT_ALL)
menu_display(id, menu, 0)
return PLUGIN_HANDLED
}
public ct_handler(id, menu, item)
{
if(item == MENU_EXIT)
{
menu_destroy(menu)
return PLUGIN_HANDLED
}
new acces, callback, data[5], iname[64]
menu_item_getinfo(menu, item, acces, data, 4, iname, 63, callback)
switch(str_to_num(data))
{
case 1:
{
if(alabilir(id, 1))
{
alsin(id, 1)
aldi[id] = true
g_item1[id] = true
client_print(id,print_center,"Mermileri yavaslatacak bir yelek aldin..")
}
}
case 2:
{
if(alabilir(id, 3))
{
alsin(id, 3)
aldi[id] = true
g_item2[id] = true
client_print(id,print_center,"Patlamalardan en az hasarla kurtulacaksin..")
}
}
case 3:
{
if(alabilir(id, 2))
{
alsin(id, 2)
aldi[id] = true
g_item3[id] = true,
client_print(id,print_center,"Bu zincir zirh, asla kesilmez ve yirtilmaz")
}
}
case 4:
{
if(alabilir(id, 1))
{
alsin(id, 1)
aldi[id] = true
set_user_health(id, get_user_health(id) + 250)
set_user_armor(id, get_user_armor(id) + 250)
}
}
case 5:
{
if(alabilir(id, 2))
{
alsin(id, 2)
if(task_exists(id + 3399)) remove_task(id + 3399)
set_task(0.5,"RadarTarama", id + 3399, "",0,"b")
client_print(id,print_center,"Radardan Mahkumlari izleyebileceksin..")
aldi[id] = true
g_item5[id] = true
}
}
case 6:
{
if(alabilir(id, 2))
{
alsin(id, 2)
aldi[id] = true
g_item6[id] = true
client_print(id,print_center,"Tehlikeli bir durum olunca bu cihaz seni uyaracak ! ")
}
}
}
menu_destroy(menu)
return PLUGIN_HANDLED
}
public FwdTakeDamage(victim, inflictor, attacker, Float:Damage, damage_type) {
if(victim == attacker || !is_user_connected(attacker)) return HAM_IGNORED;
if(!uygun(attacker, 1) || !uygun(victim, 2)) return HAM_IGNORED
if(g_item1[victim] && (damage_type & DMG_BULLET)) {
SetHamParamFloat(4, Damage / 4.0)
}
if(g_item2[victim] && (damage_type & DMG_GRENADE)) {
SetHamParamFloat(4, Damage / 4.0)
}
if(g_item3[victim] && (get_user_weapon(attacker) == CSW_KNIFE) && !(damage_type & DMG_BULLET) && !(damage_type & DMG_GRENADE)) {
SetHamParamFloat(4, Damage / 4.0)
}
return HAM_HANDLED
}
public RadarTarama(taskid)
{
new id = taskid - 3399
if(uygun(id, 2))
{
new terorSayisi, terorListesi[32], terorCord[3]
for(new i = 1; i < 33; i++)
{
if(uygun(i, 1))
{
terorListesi[terorSayisi] = i;
terorSayisi++
get_user_origin(i, terorCord, 1)
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("HostagePos"), {0,0,0}, id)
write_byte(id)
write_byte(i)
write_coord(terorCord[0])
write_coord(terorCord[1])
write_coord(terorCord[2])
message_end()
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("HostageK"), {0,0,0}, id)
write_byte(i)
message_end()
}
}
}
else
{
remove_task(taskid)
}
}
public Event_Change_Weapon(id) {
if(uygun(id, 1) && get_user_weapon(id) != CSW_KNIFE) {
for(new i = 1; i < 33; i++) {
if(uygun(i, 2) && g_item6[i]) {
new terorCord[3]
get_user_origin(id, terorCord, 2)
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("HostagePos"), {0,0,0}, i)
write_byte(i)
write_byte(id)
write_coord(terorCord[0])
write_coord(terorCord[1])
write_coord(terorCord[2])
message_end()
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("HostageK"), {0,0,0}, i)
write_byte(id)
message_end()
set_hudmessage(255, 0, 0, 0.13, 0.85, 0, 6.0, 5.0)
show_hudmessage(i, "Dikkat : Mahkumlardan biri silah aldi!")
client_cmd(0,"spk misc/alarm")
}
}
}
}
stock uygun(id, takim) {
if(is_user_connected(id) && is_user_alive(id) && get_user_team(id) == takim) {
return 1
}
return 0
}
stock alabilir(id, miktar) {
if(jb_get_user_packs(id) >= miktar) return 1
return 0
}
stock alsin(id, miktar) {
jb_set_user_packs(id, jb_get_user_packs(id) - miktar)
}
Konu JDM tarafından (11-03-14 Saat 13:28 ) değiştirilmiştir.
Steam ID: STEAM_1:0:70428872
Steam Name: Seps!s
Skype: jdm.csplague
Takdir ediliyorsan değil, Taklit ediliyorsan başarmışsın demektir.
Albert Einstein
Peki O Olduda Alttaki Verdiğim Shopa Eklermisin Bu Plugini?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
En İyi Konularım:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
color="#ff0000">CSPLAGUE.com
Anlamadım? Ben zaten ilk mesajda ki ctshop`u düzenledim?
Steam ID: STEAM_1:0:70428872
Steam Name: Seps!s
Skype: jdm.csplague
Takdir ediliyorsan değil, Taklit ediliyorsan başarmışsın demektir.
Albert Einstein
Yok O Anlamda Demek İstemedim.Altta Verdiğim Shopa CT Shop'u Eklermisin Diyorum.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
En İyi Konularım:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
color="#ff0000">CSPLAGUE.com
Sen böyle yazdığın için bende o menü eklentisi ayrı olarak istiyorsun sandım...neyse şuan telefondayım sen kendin yapmaya çalış benim yaptığıma baka baka yapamazsan pc`deyken yaparım bir araCT Shop JailBreak Shop'un İçindeydi Bende Normal Menü Plugini Olarak Dönüştürdüm.Fakat Çevirirken 4 Tane Hata Verdi.Bende Buraya Konu Açtım.
Steam ID: STEAM_1:0:70428872
Steam Name: Seps!s
Skype: jdm.csplague
Takdir ediliyorsan değil, Taklit ediliyorsan başarmışsın demektir.
Albert Einstein
Tamam Denemeye Çalışacağım.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
En İyi Konularım:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
color="#ff0000">CSPLAGUE.com
JDM kardesim pluginde hatamı var acaba ? cünki el başlayınca birkere /ctshop acıyorsun yazdıgında geliyor
sonra bida açılmıyor rest atıyorum el değişiyor ama sadece mapta 1 kere açabiliyorsun map değiştiginde tekrardan /ctshop yazınca geliyor
ve bidaha gelmiyor ?