Raised This Month: $ Target: $400
 0% 

Entity gets non solid after re setting model.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zacky
Senior Member
Join Date: Mar 2008
Location: Sweden
Old 07-22-2009 , 17:18   Entity gets non solid after re setting model.
Reply With Quote #1

When i re set the entitys model it gets non solid. Maybe anyone of you know why?

Code:
PHP Code:
new iProp1 floatround(flNewValue);

new 
szNade[16];
if (
iProp1 == 1) {
    
szNade "FlashBang";
    
entity_set_model(g_RenamingEnt[id], gszBlockModelGrenadesFlash);
}
else if (
iProp1 == 2) {
    
szNade "HE Grenade";
    
entity_set_model(g_RenamingEnt[id], gszBlockModelGrenadesHe);
}
else if (
iProp1 == 3) {
    
szNade "FrostNade";
    
entity_set_model(g_RenamingEnt[id], gszBlockModelGrenadesSmoke);
}
else if (
iProp1 == 4) {
    
szNade "Grenade Giver";
    
entity_set_model(g_RenamingEnt[id], gszBlockModelGrenades);
}

set_pev(g_RenamingEnt[id], pev_messageszNade); 
Thanks
-zacky
zacky is offline
Send a message via Skype™ to zacky
Reply



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 09:43.


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