AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hostage model (https://forums.alliedmods.net/showthread.php?t=225147)

~Ice*shOt 09-01-2013 09:55

Hostage model
 
I tried to change hostage model, but when I did it half of my model is underground, how to fix it?

Code which I'm using

PHP Code:

#include <amxmodx>
#include <engine>
#include <hamsandwich>

new const g_szModel[] = "models/player/leet/leet.mdl" // change this

public plugin_precache()
    
precache_model(g_szModel)

public 
plugin_init()
{
    
register_plugin("Custom hostage model""0.1""")

    
RegisterHam(Ham_Spawn"hostage_entity""hostage_spawn"1)
    
RegisterHam(Ham_Spawn"monster_scientist""hostage_spawn"1)
}

public 
hostage_spawn(ent)
    
entity_set_model(entg_szModel


SpaWn2KiLl 09-01-2013 10:03

Re: Hostage model
 
That's normal... they killed the hostage and put him half body just to terrify you...

~Ice*shOt 09-01-2013 11:31

Re: Hostage model
 
It is possible to fix that?

ConnorMcLeod 09-01-2013 11:37

Re: Hostage model
 
No.

~Ice*shOt 09-01-2013 13:18

Re: Hostage model
 
But with some models like zombie.mdl (from hl I think) works good

ConnorMcLeod 09-01-2013 15:02

Re: Hostage model
 
And those models don't work with cs players..

~Ice*shOt 09-01-2013 15:23

Re: Hostage model
 
OK, now I understand.


All times are GMT -4. The time now is 19:08.

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