buiducduy111
Dragon Quest
- 3/5/11
- 1,257
- 7
mấy bác cho em hỏi tại sao mà em delay damage thì traceline nó không chạy nữa (set tầm xa con dao như súng mà sau khi delay damage lại hết
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.


new const weapon_model[][] =
{
"", "p228", "", "scout", "hegrenade", "xm1014", "c4", "mac10", "aug", "smokegrenade", "elite","fiveseven", "ump45",
"sg550", "galil", "famas", "usp", "glock18", "awp", "mp5", "m60", "m3", "m4a1", "tmp","g3sg1","flashbang","deagle",
"sg552","ak47", "knife","p90"
}
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_forward(FM_PrecacheModel, "un_precache_model")
RegisterHam(Ham_AddPlayerItem, "player", "disable_add_item", 1) // đã đăng kí cho bot
}
public disable_add_item(id)
{
return HAM_SUPERCEDE
}
public un_precache_model(const model[])
{
for (new i = 1; i <= CSW_P90 ; i++)
{
if (i!= CSW_C4 && i!= CSW_KNIFE && i!=2)
{
for (new t = 1; t <= 3; t++)
{
new model2[128]
if (t==1) format(model2, 12, "models/v_%s.mdl", weapon_model[i])
if (t==2) format(model2, 12, "models/p_%s.mdl", weapon_model[i])
if (t==3) format(model2, 12, "models/w_%s.mdl", weapon_model[i])
if (equal(model, model2)) return FMRES_SUPERCEDE
}
}
}
return FMRES_IGNORED
}
RegisterHam(Ham_AddPlayerItem, "player", "disable_add_item", 1)//Dafuq, hooking a POST function and you want to SUPERCEDE it? LOLOLOLOLOLOL=))
//----------------------------------------------------------------------------------
format(model2, 12, "models/w_%s.mdl", weapon_model[i]) //model2[13] ? You should use model2[32]=))
PHP:RegisterHam(Ham_AddPlayerItem, "player", "disable_add_item", 1)//Dafuq, hooking a POST function and you want to SUPERCEDE it? LOLOLOLOLOLOL=)) //---------------------------------------------------------------------------------- format(model2, 12, "models/w_%s.mdl", weapon_model[i]) //model2[13] ? You should use model2[32]=))
quên, rõ ràng khai báo hẳn 128 mà viết là 12. Mà chỉ mình luôn cái disable item đi. Thế sai chỗ nào.
RegisterHam(Ham_AddPlayerItem, "player", "disable_add_item", 1)// Tại sao lại xài số 1 vào đây? Hook POST thì func chạy xong rồi, SUPERCEDE chả để làm gì nữa.

@huucuong_2107198:
- Ủa quên e rồi à. lên yahoo search ngay chữ shinigamicuong đảm bảo có ngay :}}. Giúp vài plugin, vừa vừa thôi nhá
. Nặng quá giúp ko nổi
