Raised This Month: $ Target: $400
 0% 

500 health for 1 second after a kill?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-30-2013 , 01:16   Re: 500 health for 1 second after a kill?
Reply With Quote #1

Quote:
Originally Posted by guipatinador View Post
Its not necessary.
I do a lot of checks always
Just remove them then.

PHP Code:
    register_event"DeathMsg" "Event_DeathMsg" "a" "1>0" )
}

public 
Event_DeathMsg( )
{
    new 
iKiller read_data)

    if( 
iKiller g_iMaxPlayers && is_user_aliveiKiller ) && iKiller != read_data) )
    {
        
set_user_godmodeiKiller)
        
remove_taskiKiller )
        
set_taskTIME_WITH_GODMODE"Disable_Godmode"iKiller )
    }

__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 07-30-2013 at 01:19.
ConnorMcLeod 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 15:54.


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