Raised This Month: $ Target: $400
 0% 

Zombie Plague Classes Help please


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 02-08-2009 , 19:31   Re: Zombie Plague Classes Help please
Reply With Quote #2

PHP Code:

// User infected post..
if (zp_get_user_class(id) == g_zclass_big// immunity class?
    
set_task(float(zclass4_sprotect), "task_givegod"__,  _"b"// repeat the task

public task_givegod(id)
{
    
set_pev(idpev_takedamageDAMAGE_NO// god
    
fm_set_rendering(idkRenderNormal02550kRenderTransAlpha255// render
    
    
set_task(float(zclass4_tprotect), "task_remove"id// remove
}

public 
task_remove(id)
{
    
set_pev(idpev_takedamageDAMAGE_AIM// god off 
    
fm_set_rendering(id// reset rendering

__________________
IneedHelp 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 17:02.


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