Raised This Month: $ Target: $400
 0% 

fw_setmodel cant detect a model


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DavidJr
Senior Member
Join Date: Apr 2012
Old 01-13-2014 , 05:42   Re: fw_setmodel cant detect a model
Reply With Quote #2

PHP Code:
if(equali(model,"models/backpack.mdl"))
    {
        
client_print(,"DEBUG : activated MODEL BACKPACK FOUND")  // THIS IS NOT CALLED
        
engfuncEngFunc_SetModelent invis_c4 );
        return 
FMRES_SUPERCEDE;
    } 
change models/backpack.mdl to models/w_backpack.mdl

also c4 model will be set to backpack if it is dropped.

Anyway, try to check if the entity is valid
__________________
What are you looking for here?

Last edited by DavidJr; 01-13-2014 at 05:43.
DavidJr 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 10:13.


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