Raised This Month: $ Target: $400
 0% 

the model refuses to change!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 04-16-2005 , 12:55   the model refuses to change!
Reply With Quote #1

Code:
 public fw_setmodel(ent,model[]) {     if(equali(model,"models/w_sealknife.mdl")) {         client_print(0,print_chat,"replaced %s^n",model);         entity_set_string(ent,EV_SZ_model,"models/japanrp/w_sealknife.mdl");         set_task(0.1,"shuriken_again",ent);     }  }  public shuriken_again(ent) {     if(is_valid_ent(ent)) {         entity_set_string(ent,EV_SZ_model,"models/japanrp/w_sealknife.mdl");         set_task(0.1,"shuriken_again",ent);     }  }

Yet it simply won't work, even with shuriken_again running over and over. It does catch fw_setmodel, it does realize it needs to change the model, and it does try... it just won't change. Any ideas?

Thanks.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Reply


Thread Tools
Display Modes

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 10:00.


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