Hi
A small simple code, it fails a bit, but I dont care much,
In init():
Code:
Video:
Credits: @Pozzuh @Rendflex and @Se7en, they tried to help, but they failed more than me,
A small simple code, it fails a bit, but I dont care much,
In init():
Code:
precacheModel("com_hatchet");
Code:
Code:
Tomahawk()
{
while(1)
{
self waittill("grenade_fire",grenade,weaponName);
if(weaponName == "throwingknife_mp" && getDvar("mapname") == "mp_rundown")
{
grenade hide();
grenade enablelinkto();
wait 0.1;
tomahawk = spawn("script_model",grenade.origin);
tomahawk SetModel("com_hatchet");
tomahawk.angles = grenade.angles;
wait 0.05;
tomahawk linkTo( grenade );
tomahawk Deleteaftertime();
}
}
}
Deleteaftertime()
{
wait RandomIntRange(8,12);
self delete();
}
Video:
Credits: @Pozzuh @Rendflex and @Se7en, they tried to help, but they failed more than me,