Raised This Month: $ Target: $400
 0% 

Spawn Protection


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SM9
Veteran Member
Join Date: Sep 2013
Location: United Kingdom
Plugin ID:
341
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    41 
    Plugin Description:
    Protects players temporarily on Spawn from damage.
    Old 05-25-2014 , 18:48   Re: Spawn Protection
    Reply With Quote #1

    You should NOT be setting a timer directly on a client, instead you should parse his userid. If that client disconnects while the timer is still running its going to hook itself to any other client that takes his index. For this reason I'm surprised its even approved.

    I have fixed the errors and also made the messages less spammy.
    Attached Files
    File Type: sp Get Plugin or Get Source (SpawnProtection.sp - 607 views - 3.0 KB)
    SM9 is offline
    Reply


    Thread Tools
    Display Modes

    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 05:27.


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