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.
. Nếu bác là tôi bác sẽ ntn 
Sau đây là quay lại topic hỏi - đápĐây ko phải cái chợ.![]()
.
.
.1. ý cậu là shotgun reload 1 phát như Usas12 trong CSo hả@sontung0: Có thể nào tự tạo đường đạn như shotgun đối với weapon khác ( vd: famas, ak47) mà dùng hamsandwich ko ông ? Có ý định làm cây USAS-12 rồi up lên chơi .
Tôi nghĩ ra 2 cách :
1) Hook reload event rồi play animation reload rồi thêm đạn lại bt
2) Tạo đường đạn shotgun với weapon khác shotgun .tạo đường đạn như shotgun..
Tốc độ bắn thì tôi có thể tự làm đc rồi.Đang bí vụ "vẽ đạn" ra thôi .
20k gì chứ..................................... Ranh con
Dias ak ? năm nay bao nhiu tuổi rồi..... RANH cOn ? nói như thế lão hữu cường điên lên Headshot mất20k gì chứ..................................... Ranh con


......... không hiểu mà cứ lA lá 
nhớ quay phim nhớ 
[PHP]
new const GUNSHOT_DECALS[] = { 41, 42, 43, 44, 45 }
stock make_blood_and_bulletholes(id)
{
new aimOrigin[3], target, body
get_user_origin(id, aimOrigin, 3)
get_user_aiming(id, target, body)
if(target > 0 && target <= g_MaxPlayers && zp_get_user_zombie(target))
{
new Float:fStart[3], Float:fEnd[3], Float:fRes[3], Float:fVel[3]
pev(id, pev_origin, fStart)
velocity_by_aim(id, 64, fVel)
fStart[0] = float(aimOrigin[0])
fStart[1] = float(aimOrigin[1])
fStart[2] = float(aimOrigin[2])
fEnd[0] = fStart[0]+fVel[0]
fEnd[1] = fStart[1]+fVel[1]
fEnd[2] = fStart[2]+fVel[2]
new res
engfunc(EngFunc_TraceLine, fStart, fEnd, 0, target, res)
get_tr2(res, TR_vecEndPos, fRes)
message_begin(MSG_BROADCAST, SVC_TEMPENTITY)
write_byte(TE_BLOODSPRITE)
write_coord(floatround(fStart[0]))
write_coord(floatround(fStart[1]))
write_coord(floatround(fStart[2]))
write_short( m_iBlood [ 1 ])
write_short( m_iBlood [ 0 ] )
write_byte(70)
write_byte(random_num(1,2))
message_end()
}
else if(!is_user_connected(target))
{
if(target)
{
message_begin(MSG_BROADCAST, SVC_TEMPENTITY)
write_byte(TE_DECAL)
write_coord(aimOrigin[0])
write_coord(aimOrigin[1])
write_coord(aimOrigin[2])
write_byte(GUNSHOT_DECALS[random_num ( 0, sizeof GUNSHOT_DECALS -1 ) ] )
write_short(target)
message_end()
}
else
{
message_begin(MSG_BROADCAST, SVC_TEMPENTITY)
write_byte(TE_WORLDDECAL)
write_coord(aimOrigin[0])
write_coord(aimOrigin[1])
write_coord(aimOrigin[2])
write_byte(GUNSHOT_DECALS[random_num ( 0, sizeof GUNSHOT_DECALS -1 ) ] )
message_end()
}
message_begin(MSG_BROADCAST, SVC_TEMPENTITY)
write_byte(TE_GUNSHOTDECAL)
write_coord(aimOrigin[0])
write_coord(aimOrigin[1])
write_coord(aimOrigin[2])
write_short(id)
write_byte(GUNSHOT_DECALS[random_num ( 0, sizeof GUNSHOT_DECALS -1 ) ] )
message_end()
}
}
Vấn đề là ở chỗ dias có nói bác huucuong trước do ko biết tuổi tác,hơn nữa do dias hiểu nhầm vụ 20k của bác huucuong nên mới nói!
Bác huucuong hơn tuổi dias nhưng lại ko nói nhẹ nhàng để khuyên bảo dias lại dùng từ ngữ như vậy để nói chuyện nên tui đành phạt mỗi người 5 points do 2 bên đều có lỗi.
@kakaan96: Hên xui, ver mới cũng sẽ là ver cuối cùng của Biohazard ( Made by 5c0r) .Đã xong ý tưởng , chỉ cần code là xong
. Hên thì tết này có dịp thử ở server . xui thì thôi
.
@theanh : Đổi title cho tôi đc không.
.
.. Ai thích cứ down của author cũ đi rồi test xem sẽ thấy rất nực cười, tôi đã từng phản ánh về cái lỗi này rồi đấy. Đây là code đã sửa.#include <amxmodx>
#include <fun>
#include <zombieplague>
new const zclass_name[] = "Deadly Zombie"
new const zclass_info[] = "Respawn"
new const zclass_model[] = "zombie_source"
new const zclass_clawmodel[] = "v_knife_zombie.mdl"
const zclass_health = 1800
const zclass_speed = 190
const Float:zclass_gravity = 1.0
const Float:zclass_knockback = 1.0
new g_zclass_deadly, MaxRespawn, RespawnDelay, Glow, GlowColor, GlowAmt, GlowTime
new cMaxRespawn, Float:cRespawnDelay, cGlow, cGlowAmt, Float:cGlowTime
new ClientRespawn[33]
public plugin_init()
{
register_event("DeathMsg", "event_DeathMsg", "a")
MaxRespawn = register_cvar("zp_deadly_max_respawn", "3")
RespawnDelay = register_cvar("zp_deadly_respawn_delay", "5.0")
Glow = register_cvar("zp_deadly_glow", "1")
GlowColor = register_cvar("zp_deadly_glow_color", "0 255 0")
GlowAmt = register_cvar("zp_deadly_glow_amount", "30")
GlowTime = register_cvar("zp_deadly_glow_time", "10.0")
}
public plugin_precache()
{
g_zclass_deadly = zp_register_zombie_class(zclass_name, zclass_info, zclass_model, zclass_clawmodel, zclass_health, zclass_speed, zclass_gravity, zclass_knockback)
}
public plugin_cfg()
{
cMaxRespawn = get_pcvar_num(MaxRespawn)
cRespawnDelay = get_pcvar_float(RespawnDelay)
cGlow = get_pcvar_num(Glow)
cGlowAmt = get_pcvar_num(GlowAmt)
cGlowTime = get_pcvar_float(GlowTime)
}
public event_DeathMsg()
{
static victim; victim = read_data(2)
if(victim && ClientRespawn[victim] > 0 && zp_get_user_zombie(victim) && zp_get_user_zombie_class(victim) == g_zclass_deadly && !zp_get_user_nemesis(victim))
{
client_print(victim, print_chat, "[ZP] You will respawn in %.f0 sec", cRespawnDelay)
set_task(cRespawnDelay, "respawn_zombie", victim)
}
}
public respawn_zombie(id)
{
if(ClientRespawn[id] > 0 && zp_get_user_zombie(id) && !zp_get_user_nemesis(id))
{
ClientRespawn[id] -= 1
zp_set_user_zombie_class(id, g_zclass_deadly)
client_print(id, print_chat, "[ZP] Your class has been automatically set to this zombie class to prevent cheats.")
client_print(id, print_chat, "[ZP] You can choose your class after a new round or you get disinfected.")
zp_respawn_user(id, ZP_TEAM_ZOMBIE)
if(cGlow)
{
new szColor[12], szRed[4], szGreen[4], szBlue[4]
get_pcvar_string(GlowColor, szColor, 11)
parse(szColor, szRed, 3, szGreen, 3, szBlue,4)
new iRed = clamp(str_to_num(szRed), 0, 255)
new iGreen = clamp(str_to_num(szGreen), 0, 255)
new iBlue = clamp(str_to_num(szBlue) , 0,255)
set_user_rendering(id, kRenderFxGlowShell, iRed, iGreen, iBlue, kRenderNormal, cGlowAmt)
set_task(cGlowTime, "remove_glow", id)
}
}
}
public remove_glow(id)
{
if(is_user_connected(id) && is_user_alive(id))
set_user_rendering(id)
}
public zp_user_infected_post(id, infector)
{
if(zp_get_user_zombie_class(id) == g_zclass_deadly && !zp_get_user_nemesis(id))
{
ClientRespawn[id] = cMaxRespawn
client_print(id, print_chat, "[ZP] You will respawn when you die. Max Respawn: %i", cMaxRespawn)
}
}
@kakaan96: Hên xui, ver mới cũng sẽ là ver cuối cùng của Biohazard ( Made by 5c0r) .Đã xong ý tưởng , chỉ cần code là xong
. Hên thì tết này có dịp thử ở server . xui thì thôi
.
@theanh : Đổi title cho tôi đc không.
