Raised This Month: $ Target: $400
 0% 

player model changing in fakemeta


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 03-15-2009 , 16:02   player model changing in fakemeta
Reply With Quote #1

I can't understand a damn thing from this http://forums.alliedmods.net/showthread.php?t=69386 because the codes are scrambled across the page...
also I found this in some plugins:
PHP Code:
engfunc(EngFunc_SetClientKeyValueidengfunc(EngFunc_GetInfoKeyBufferid), "model""model_name"
but doesn't seem to work... it worked for an older plugin of mine but for a plain simple plugin it doesn't...

PHP Code:
#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
    
register_clcmd("test_model""test_model")
}

public 
plugin_precache()
{
    
precache_model("models/player/vip/vip.mdl")
}

public 
test_model(id)
{
    
engfunc(EngFunc_SetClientKeyValueidengfunc(EngFunc_GetInfoKeyBufferid), "model""vip")

    return 
PLUGIN_HANDLED

__________________
Hunter-Digital 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 08:57.


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