teobrvt1995
T.E.T.Я.I.S
- 19/9/10
- 691
- 2
ai chỉ cái skull9 đi nào 

Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

^: Mắc gì phải cho đống biến kia ra ngoài
PHP:/* Script generated by Pawn Studio */ #include <amxmodx> #include <amxmisc> #include <fun> #define PLUGIN "TDM Weapon" #define AUTHOR "Bui Duc Duy" #define VERSION "1.0" new mode public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("CurWeapon","event_CurWeapon","be","1=1") new FileSetting[128], Nmode[10] , len format(FileSetting,127,"addons/amxmodx/configs/BDD_GamePlay/GameBag.ini") read_file(FileSetting,13,Nmode,63 , len) mode = str_to_num(Nmode) } public event_CurWeapon(id) { if (mode == 0) return; new wpn, clip, ammo wpn = get_user_weapon(id, clip, ammo) if (mode == 1) { if (wpn == CSW_AWP || wpn == CSW_SCOUT || wpn == CSW_SG550 || wpn == CSW_G3SG1) return; strip_user_weapons(id) give_item(id,"weapon_knife") return } else if (mode == 2) { if (wpn == CSW_P228 || wpn == CSW_DEAGLE || wpn == CSW_GLOCK18 || wpn == CSW_USP || wpn == CSW_FIVESEVEN || wpn == CSW_ELITE) return strip_user_weapons(id) give_item(id,"weapon_knife") return; } else if (mode == 3) { if (wpn == CSW_KNIFE) return strip_user_weapons(id) give_item(id,"weapon_knife") return; } }
[video=youtube;Cl_2ythplT0]http://www.youtube.com/watch?v=Cl_2ythplT0[/url][/video]

à cái đó là plugin Weapon Icon của 5c0r edit lại, ko biết edit thế nào mà nó hiện ra ở chỗ đồng hồ, cứ hỏi 5c0r hay KFL ấy
Dùng message Scenario là hiện ở cạnh đồng hồ ngay ấy mà :)
anh red có hud đó ko, cho em xin đc ko ạ!

public fw_touch_weapon(ent, id)
{
if (cs_get_user_team(id) == CS_TEAM_T)
{
new weapon[24]
get_weaponname(ent, weapon, 23)
if (!equal(weapon,"weapon_c4")) return HAM_SUPERCEDE
}
return HAM_IGNORED;
}
Thê này phải không ạ. Vào game nó ko được, chắc em sai rồi.
PHP:public fw_touch_weapon(ent, id) { if (cs_get_user_team(id) == CS_TEAM_T) { new weapon[24] get_weaponname(ent, weapon, 23) if (!equal(weapon,"weapon_c4")) return HAM_SUPERCEDE } return HAM_IGNORED; }
public fw_touch_weapon(ent, id)
{
if (cs_get_user_team(id) == CS_TEAM_T)
{
new weapon[32]
pev(ent, pev_classname, weapon, 31)
if (!equal(weapon, "weapon_c4")) return HAM_SUPERCEDE
}
return HAM_IGNORED;
}
^
- Đừng bao giờ bắt người ta tìm lỗi rồi sửa dùm. Chú tự tìm lỗi đi, biết lỗi đó nằm ở đoạn nào thì hãy hỏi, post code lên đây chả ai giúp đâu![]()
ở đầu ván event HLTV ta nhớ nó đã chạy rồi, chú còn thêm cái lặp for làm gì. 32 player gọi event HLTV mỗi thằng gọi tiếp 33 lần nữa... ko phải no free dic thì là gì
![]()
Thanks anh nha!