 |
|
Senior Member
Join Date: Jul 2013
Location: Bulgaria
|

01-05-2016
, 09:32
Re: [REQ]Different VIP model for map- CS 1.6
|
#7
|
Quote:
Originally Posted by Phant
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
public plugin_precache()
{
precache_model("models/player/terror/terror.mdl")
}
public plugin_init()
{
register_plugin("VIP Player Model Replacement", "1.0", "Phantomas")
register_forward(FM_SetClientKeyValue, "SetClientKeyValue")
}
public SetClientKeyValue(id, const szInfoBuffer[], const szKey[], const szValue[])
{
if(equal(szKey, "model"))
{
if(equal(szValue, "vip"))
{
set_user_info(id, "model", "terror")
return FMRES_SUPERCEDE
}
}
return FMRES_IGNORED
}
|
Tried it and it doesn't work. Still seeing the regular VIP model instead of mine.
__________________
My tut
_______________________________________
|
|
|
|