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