Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Addon : Easy First Zombie Sorting.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 06-01-2012 , 15:27   Re: [ZP] Addon : Easy First Zombie Sorting.
Reply With Quote #1

I think you miss judged this, in plugins that are huge, if you are use fakemeta and fun you would not need it, just to call rendering or maybe some other small functions? In this case its better to use fun because fun > fakemeta
In case that i was talking about --> http://forums.alliedmods.net/showthread.php?p=571256
So again
-->
Quote:
Originally Posted by H.RED.ZONE View Post
In case useing only fun this would be the best way.
PHP Code:
#include <amxmodx>
#include <fun>
#include <zombieplague>

#define PLUGIN    "[ZP] FirstZombie Glow"
#define AUTHOR    "DSASDFGH"
#define VERSION    "1.25"

const TASK_GLOW 3356;

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
}

public 
zp_user_infected_post(id) {
    if(!
is_user_alive(id) || !zp_get_user_first_zombie(id))
        return;
        
    
GlowEffects(id)
        
    
set_task(3.0"GlowEffects"id_,_,"b")
}

public 
client_disconnect(id) {
    
remove_task(id)
}

public 
GlowEffects(id) {
    
set_user_rendering(idkRenderFxGlowShellrandom_num(0,255), random_num(0,255), random_num(0,255), kRenderNormal16)
}  

public 
zp_user_unfrozen(id) {
    if(
is_user_connected(id) && zp_get_user_first_zombie(id)) {
        
set_user_rendering(idkRenderFxGlowShellrandom_num(0,255), random_num(0,255), random_num(0,255), kRenderNormal16)
    }

__________________
H.RED.ZONE 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 16:23.


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