Raised This Month: $ Target: $400
 0% 

Hostage model


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 09-01-2013 , 09:55   Hostage model
Reply With Quote #1

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
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
 



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 19:08.


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