feat(iw5): marathon perk

This commit is contained in:
2024-03-20 16:53:24 +01:00
parent de5f91b67a
commit 09af9cba74
2 changed files with 102 additions and 0 deletions

View File

@ -28,6 +28,7 @@ onPlayerConnect()
player thread jumper();
player thread displaySpeed();
player thread onPlayerSpawned();
}
}
@ -115,3 +116,15 @@ jumper()
}
}
}
onPlayerSpawned()
{
GENERIC_COROUTINE_END;
while ( true )
{
self waittill( "spawned_player" );
self setPerk( "specialty_marathon", true, false );
}
}