mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-21 01:55:43 +00:00
ok
This commit is contained in:
parent
eb231f8f96
commit
f7c2c8992d
@ -10,7 +10,7 @@ init()
|
||||
{
|
||||
load_waypoints();
|
||||
cac_init_patch();
|
||||
hook_callbacks();
|
||||
thread hook_callbacks();
|
||||
|
||||
//menu?
|
||||
//waypoint editor?
|
||||
@ -147,6 +147,7 @@ onPlayerKilled(eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHi
|
||||
*/
|
||||
hook_callbacks()
|
||||
{
|
||||
wait 0.05;
|
||||
level.prevCallbackPlayerDamage = level.callbackPlayerDamage;
|
||||
level.callbackPlayerDamage = ::onPlayerDamage;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user