iw5: test guns #4

Merged
Future merged 3 commits from iw5/test-guns into main 2024-05-31 09:59:14 +00:00
2 changed files with 14 additions and 1 deletions
Showing only changes of commit 6f8e7954d4 - Show all commits

View File

@ -115,4 +115,17 @@ _ON_PLAYER_SPAWNED_BEGIN
self setPerk( "specialty_marathon", true, false );
self freezeControls( false );
self takeAllWeapons();
self giveWeapon( "iw5_usp45_mp" );
self giveMaxAmmo( "iw5_usp45_mp" );
self giveWeapon( "rpg_mp" );
self giveMaxAmmo( "rpg_mp" );
wait 1;
self switchToWeaponImmediate( "iw5_usp45_mp" );
_ON_PLAYER_SPAWNED_END

View File

@ -47,7 +47,7 @@
#define GENERIC_INIT \
init() \
{ \
setDvar( BOUNCES_DVAR, 1 ); \ /* Custom */
setDvar( BOUNCES_DVAR, 1 ); \
thread onPlayerConnect(); \
}