Raised This Month: $ Target: $400
 0% 

[RESOLVED] Replacing player models using FAKEMETA


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
slmclarengt
Veteran Member
Join Date: Jul 2004
Location: The Cookie Jar... or Pul
Old 12-10-2006 , 15:01   Re: Replacing models using FAKEMETA (simple, but help plz)
Reply With Quote #5

Then I tried
Code:
public client_connect(id) {     if(is_user_connected(id))     {         cs_set_user_model(id, TREE) //bomb         cs_set_user_model(id, ARCTIC) //T         cs_set_user_model(id, GUERILLA) //T         cs_set_user_model(id, LEET) //T         cs_set_user_model(id, MILITIA) //T         cs_set_user_model(id, TERROR) //T     }     else         set_task(5.0, "client_connect", id) }

Instead of

Code:
public fw_setmodel(ent,model[])  {     if(equali(model,"models/w_c4.mdl"))     {         engfunc(EngFunc_SetModel,ent,TREE);         return FMRES_SUPERCEDE;     }     if(equali(model,"models/player/arctic/arctic.mdl"))     {         engfunc(EngFunc_SetModel,ent,ARCTIC);         return FMRES_SUPERCEDE;     }     if(equali(model,"models/player/guerilla/guerilla.mdl"))     {         engfunc(EngFunc_SetModel,ent,GUERILLA);         return FMRES_SUPERCEDE;     }     if(equali(model,"models/player/leet/leet.mdl"))     {         engfunc(EngFunc_SetModel,ent,LEET);         return FMRES_SUPERCEDE;     }     if(equali(model,"models/player/militia/militia.mdl"))     {         engfunc(EngFunc_SetModel,ent,MILITIA);         return FMRES_SUPERCEDE;     }     if(equali(model,"models/player/terror/terror.mdl"))     {         engfunc(EngFunc_SetModel,ent,TERROR);         return FMRES_SUPERCEDE;     }     return FMRES_IGNORED;  }

The cs_set_user_model actually screwed my server over because I don't know which function to call, client_connect or client_authorized or neither? I am newb in this regard, but understand the main concepts.

Slmclarengt
__________________
But we don’t beat the Reaper by living longer. We beat the Reaper by living well. -Dr. Randy Pausch, R.I.P.

Come play WC3:FT on BnD Clan Server! You know you want to: Connect to WC3:FT BnD - go ahead click me!
slmclarengt 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 07:00.


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