My collection of IW5 scripts
-
Resxt nevermind i find out how to fix in this line
self.pers["gamemodeLoadout"]["loadoutStreakType"] = "specialist"
should be
self.pers["gamemodeLoadout"]["loadoutStreakType"] = "streaktype_specialist"; thanks a lot for the tip -
Resxt did you know why am i have no weapon? also i cant even knife


Maybe deepseek wrote bad code for 2 kills change weaponOnPlayerKill()
{
self endon("disconnect");for (;;) { self waittill("killed_enemy"); // Increment the kill counter self.pers["gun_game_kill_counter"]++; // Check if the player has reached 2 kills if (self.pers["gun_game_kill_counter"] >= 2) { // Reset the kill counter self.pers["gun_game_kill_counter"] = 0; // Update the score and weapon index self.pers["previous_score"] = (self.pers["previous_score"] + 50); // Prevent multi kills from giving score multiple times. This way our score is always equal to our current weapon index self.score = self.pers["previous_score"]; self.pers["score"] = self.pers["previous_score"]; if (self.score == (50 * level.gun_game_weapons_amount) - 50) // If we are at the last weapon { SetGameLimits(level.gun_game_weapons_amount); // Change the score limit (originally at 0 to prevent a multi kill bug) to one kill from now } self.pers["gun_game_current_index"]++; self.pers["gun_game_current_weapon"] = level.gun_game_current_game_weapons[self.pers["gun_game_current_index"]]; if (self.pers["gun_game_current_index"] < level.gun_game_weapons_amount) { GiveGunGameWeapon(false); if (self.pers["gun_game_current_index"] == (level.gun_game_weapons_amount - 1)) // last weapon obtained { maps\mp\_utility::playsoundonplayers("mp_enemy_obj_captured"); } else { self playlocalsound("mp_war_objective_taken"); } } else { self.pers["gun_game_current_index"] = (level.gun_game_weapons_amount - 1); // Reset the index to max weapon index. This is so that we don't display Weapon: 19/18 for example } } }}
-
Resxt can you please tell me is there a command to pause the server in a private match
-
Resxt can you please tell me is there a command to pause the server in a private match
Medison idk
-
Resxt what console command for coordinates hud like cg_drawfps
-
Medison cg_drawfps 4
-
Resxt i have bat file and how to make that command fs_game mods/survival will load, i tried +fs_game mods/survival but its not working

-
-
Resxt i have bat file and how to make that command fs_game mods/survival will load, i tried +fs_game mods/survival but its not working

Medison I don't know, also stop with all these unrelated questions
This topic is for my scripts, I don't know the answer to every single thing on earth, ask others -
Resxt Okay, please forgive me for disturbing you.
-
Resxt how to add throwing knife in your script one in the chamber i try to add this but not working

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login