Raised This Month: $ Target: $400
 0% 

Retard Kate. [Female Hero] help?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 12-24-2013 , 12:29   Re: Retard Kate. [Female Hero] help?
Reply With Quote #4

Quote:
Originally Posted by SkumTomteN View Post
I have a plugin. that sets modelindex.

Dont understand what you mean.

Code:
new const DBUG_PLAYER_MODEL[][] = { 
	 
              "spetsnaz",
              "gign",
	      "ADMIN",
              "fast_jumper",
	      "classic",
	      "zombie_siners",
               "china",
               "gsg9",
               "davidblack",
               "gerrard",
               "zombie-rus_s0h2",
               "pirateboy",
               "hero",
               "chngirl01"
}
that is what i have written. in the plugin.
Don't understand? arrr sad, here is an example how to fix that issue:
PHP Code:
#include <amxmodx>
#include <fakemeta>

new ModelIndexFemale

public plugin_precache()
{
    
ModelIndexFemale engfunc(EngFunc_PrecacheModel"models/player_w.mdl"//cso female hitbox, use this hitbox for cso female models only.
    
engfunc(EngFunc_PrecacheModel"models/player/criss/criss.mdl"//use criss for example, but as far as i know all cso female models are bugged.
}

public 
plugin_init()
{
    
register_plugin("CSO Female HitBoxFix""0.0.1""wbyokomo")
}

//foward playerspawn, for example we hook spawn forward to set player model
public OnSpawn(id)
{
    
//set cso female playermodel
    
set_user_info(id"model""criss"//for example criss
    
    //set a correct female hitbox to prevent holding dual elites bug
    
fm_cs_set_user_model_index(idModelIndexFemale)
}

//func cs set player model index
fm_cs_set_user_model_index(idvalue)
{
    if(
pev_valid(id) == 2set_pdata_int(id491value5);


Last edited by yokomo; 12-24-2013 at 12:32.
yokomo 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 20:31.


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