Raised This Month: $ Target: $400
 0% 

Ok I am lost; fakemeta help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
djmd378
Senior Member
Join Date: Sep 2004
Old 06-12-2007 , 13:34   Re: Ok I am lost; fakemeta help
Reply With Quote #6

I have a feeling that this is for your zombie mod so....

Code:
#include <cstrike> #include <fakemeta> new MODEL[256], zombie_model public plugin_init() {     zombie_model = register_cvar("zs_model","zombieswarm")     register_forward(FM_ClientUserInfoChanged,"fw_info")     register_forward(FM_PlayerPostThink,"fw_postthink") } public fw_info(id,buffer) {     if (g_human[id])         return FMRES_IGNORED     if (g_zombie[id])         return FMRES_SUPERCEDE     return FMRES_IGNORED } public fw_postthink(id) {     if (!is_user_alive(id))         return FMRES_IGNORED     if (g_Zombie[id]) {         new szModel[33]         get_pcvar_string(zombie_model, MODEL, 255)         cs_get_user_model(id, szModel, 32)         if (containi(szModel, MODEL) !=-1 )             return FMRES_IGNORED         new info = engfunc(EngFunc_GetInfoKeyBuffer, id)         engfunc(EngFunc_SetClientKeyValue, id, info, "model", MODEL)         return FMRES_IGNORED     }     return FMRES_IGNORED }
__________________
djmd378 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 10:42.


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