Raised This Month: $51 Target: $400
 12% 

[NMRIH] Infinity 1.3.1 [2022/07/03]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Plugin ID:
4609
Plugin Version:
1.3.1
Plugin Category:
Gameplay
Plugin Game:
No More Room in Hell
Plugin Dependencies:
    Servers with this Plugin:
    66 
    Plugin Description:
    Makes infinite clip/ammo and stamina and shows their current values
    Old 04-18-2015 , 16:08   [NMRIH] Infinity 1.3.1 [2022/07/03]
    Reply With Quote #1

    Name: Infinity

    Description: Make endless clip/ammo & stamina in NMRiH.
    If you have selected the infinite ammunition, when reloading the weapon in inventory is added ammo exactly as lacking in the clip. Due to this space in the inventory remains as much as possible.
    If you have selected the infinite clip, then reload button is blocked. That you are not bitten, when you accidentally press the button reloading weapons.

    Changes in 1.3.1 [2022/07/03]:
    • Fixed error "Invalid Handle 0 (error 4)"
    Changes in 1.3.1 [2021/11/21]:
    • Now cvar sm_inf_adm is works again
    Changes in 1.3.1 [2021/11/20]:
    • Fixed error "Invalid client index -1"
    Changes in 1.3.1:
    • Fixed error "Exception reported: Entity -1 (-1) is invalid"
    Changes in 1.3.0:
    • Some code optimizations (e.g. instant removal of ammo boxes when turning on infinite ammo).
    • Now the code uses new syntax and is compatible with SM1.11
    • Added the ability to display in HUD the number of rounds of the player's current weapon and the name of the medicine in the hands.
    • Added the ability to select the ammo mode for administration (used no worse than normal players mode)
    • Added 6 new console variables (1 cvar in v1.2.0 and 5 cvars in v1.3.0)
    Changes in 1.1:
    • Added new weapons from 1.09.5 (SKS without bayonet and Sako 85 without scope)
    • Every 10 seconds on the map will be removed all ammo boxes if infinite ammo switched on
    Installation: Place compiled plugin (nmrih_infinity.smx) into the plugins folder (../addons/sourcemod/plugins/).

    CVars:
    • nmrih_infinity_version - Plugins version
    • sm_inf_ammo - Ammo mode for all: 0 - Normal mode, 1 - Infinite ammo, 2 - Infinite clip
    • sm_inf_adm - Ammo mode for admins: 0 - Normal mode, 1 - Infinite ammo, 2 - Infinite clip
    • sm_inf_stamina - On/Off Infinite stamina
    • sm_inf_hud - On/Off display ammo number in the HUD
    • sm_inf_hud_color - HUD info color. Set by HEX (RGB or RRGGBB, values 0 - F or 00 - FF, resp.). Wrong color code = white
    • sm_inf_hud_update - Update info every x seconds (0.0 - show only changes)
    • sm_inf_hud_x - HUD info position X (0.0 - 1.0 left to right or -1 for center)
    • sm_inf_hud_y - HUD info position Y (0.0 - 1.0 top to bottom or -1 for center)

    Source file at Github
    Attached Images
    File Type: jpg 20210928203241_1.jpg (94.4 KB, 314 views)
    Attached Files
    File Type: sp Get Plugin or Get Source (nmrih_infinity.sp - 2647 views - 5.7 KB)
    File Type: sp Get Plugin or Get Source (nmrih_infinity 1.1.sp - 2885 views - 6.4 KB)
    File Type: sp Get Plugin or Get Source (nmrih_infinity 1.2.0.sp - 362 views - 9.0 KB)
    File Type: sp Get Plugin or Get Source (nmrih_infinity 1.3.1.sp - 498 views - 13.7 KB)
    File Type: sp Get Plugin or Get Source (nmrih_infinity 1.3.1_21.11.2021.sp - 511 views - 13.5 KB)
    File Type: sp Get Plugin or Get Source (nmrih_infinity 1.3.1_03.07.2022.sp - 930 views - 13.5 KB)
    __________________

    Last edited by Grey83; 07-03-2022 at 05:27. Reason: now cvar sm_inf_adm is works again
    Grey83 is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 11:51.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode