Raised This Month: $ Target: $400
 0% 

[ZP] Regeneration: some bugs


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Freddy2304
Junior Member
Join Date: Dec 2006
Old 06-08-2010 , 11:57   Re: [ZP] Regeneration: some bugs
Reply With Quote #6

Quote:
Originally Posted by RedRobster View Post
The way to do this is...
PHP Code:
public plugin_init()
{
      
RegisterHamHam_Spawn"player""Player_Spawn")
}

public 
Player_Spawn(id)
{    
      if(
cs_get_user_team == CS_TEAM_T && is_user_aliveid ) ) //Will only do it to Ts (Zombies if I remember correctly). Second thing is just an extra check, won't hurt to have it).
              
set_user_healthid100 //100 or w/e you want starting health to be

Sorry, but i can't see why i should need this code.

i tested it but it changed nothing. The bugs still exist
__________________
Freddy2304 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 05:16.


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