Raised This Month: $ Target: $400
 0% 

code to block round hp.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DavidJr
Senior Member
Join Date: Apr 2012
Old 12-19-2013 , 11:31   Re: code to block round hp.
Reply With Quote #2

PHP Code:
public plugin_init()
{
        
register_plugin(PLUGINVERSIONAUTHOR)
        
RegisterHam(Ham_Spawn"player""fw_PlayerSpawn_Post"1)
}

public 
fw_PlayerSpawn_Post(id)
{
        if(!
is_user_connected(id) || !is_user_alive(id))
        {
            return;
        }

        
set_user_health(id250)

Give you 250 hp everytime you spawn
__________________
What are you looking for here?
DavidJr 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 20:39.


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