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
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 06-01-2012 , 23:21   Re: [ZP] Addon : Easy First Zombie Sorting.
Reply With Quote #2

oh man, I got so used to fakemeta that I don't know how to use the other modules. :/
__________________
jc980 is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 06-02-2012 , 01:16   Re: [ZP] Addon : Easy First Zombie Sorting.
Reply With Quote #3

PHP Code:
fw_ClientDisconnect(id
same as
PHP Code:
client_disconnect(id
And again, please stop using fakemeta stock, use a direct native from module is faster. You are damn obsessed with fakemeta dude.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
DSASDFGH
Senior Member
Join Date: Jul 2011
Location: Facebook
Old 06-02-2012 , 02:59   Re: [ZP] Addon : Easy First Zombie Sorting.
Reply With Quote #4

Removed fakemeta requirement. Oh yeah.
__________________
Learning SourceMod is happy
DSASDFGH is offline
klatro
Senior Member
Join Date: Oct 2009
Location: The world and at home
Old 06-02-2012 , 12:53   Re: [ZP] Addon : Easy First Zombie Sorting.
Reply With Quote #5

ConnorMcLeod, you return to the world of zombies?
klatro 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