Raised This Month: $ Target: $400
 0% 

[NT] Restart Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Agiel
Junior Member
Join Date: Jan 2010
Plugin ID:
1441
Plugin Version:
1.0.01
Plugin Category:
General Purpose
Plugin Game:
Neotokyo
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Resets deaths on neo_restart_this 1
    Old 01-31-2010 , 07:55   [NT] Restart Fix
    Reply With Quote #1

    Currently the neo_restart_this command is bugged and doesn't reset deaths so I wrote this simple plugin to fix it.

    There is still the issue of people being able to pick weapon loadouts of the rank they were before the restart, and if they do they spawn with only a pistol. I couldn't figure out a way to fix this but a simple workaround is to just go back to the class menu and the weapon loadout menu will fix itself.
    Attached Files
    File Type: sp Get Plugin or Get Source (nt_restartfix.sp - 864 views - 1.7 KB)

    Last edited by Agiel; 05-18-2010 at 15:43.
    Agiel is offline
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 02-06-2010 , 09:59   Re: [NT] Restart Fix
    Reply With Quote #2

    While it's not critical to change, Sourcemod has a MaxClients global var that auto-updates. It is recommended to use it instead of GetMaxClients() as the latter is redundant. I also noticed this in your [NT] Kill Assists plugin.

    See:
    http://forums.alliedmods.net/showpos...79&postcount=3
    psychonic is offline
    Reply



    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 13:15.


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