Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Zombie Class : Ghost + Noclip


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
JoKeR LauGh
Veteran Member
Join Date: May 2011
Location: Malaysia
Old 03-24-2012 , 08:00   Re: [ZP] Zombie Class : Ghost + Noclip
Reply With Quote #8

Quote:
Originally Posted by H.RED.ZONE View Post
You mean zp_core_is_zombie (zombie) and !zp_core_is_zombie (human)
Yea, and I would suggest him to make an array to hold the ability.

Quote:
+1 Lower cpu you use client_PreThink...
He could use FM_CmdStart by fakemeta module.
PreThink will make server lag and high cpu usage because it will think every 0.1 second. That's not a good sign.

To Creator : Please make an array to hold for this ability.

EDIT : Default round event

PHP Code:

new g_max
new g_iHasAbility[33// this is an array

public plugin_init ( )
{
       
register_event "Round_End"2"1=Round_End" )

       
g_max get_maxplayers ( )
}

public 
Round_End ( )
{
       for ( new 
id=1id <= g_maxid++ )
       {
             if ( 
is_user_connected id ) && g_iHasAbility id ] )
             {
                     
g_iHasAbilityid ] = 0;
             }
       }

__________________
Quote:
Originally Posted by addons_zz View Post
Also, just to not read `the article`, read all you find. Read and read, for ever and ever. Never stop reading.
Why? Because there is not one single universal truth which holds the meaning for everything.

Last edited by JoKeR LauGh; 03-24-2012 at 08:05.
JoKeR LauGh 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 16:09.


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