Raised This Month: $ Target: $400
 0% 

Error SV_MODELIndex: model@n▀@'▀ not precached, an the models is precached -.-!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PattyBiena
BANNED
Join Date: Jul 2010
Location: Argentina
Old 07-15-2010 , 14:23   Error SV_MODELIndex: model@n▀@'▀ not precached, an the models is precached -.-!
Reply With Quote #1

(ZP 4.2)

Code:
PHP Code:
// In plugin_precache()
    
precache_model("models/zombie_plague/noone.mdl")
    
precache_model("models/zombie_plague/noonef.mdl")


// in round_end

for (new iiNumi++)
{
    if (
get_user_weapon(iPlayers[i]) != CSW_KNIFEset_pev(iPlayers[i],  pev_viewmodel"models/zombie_plague/noonef.mdl");
    else 
set_pev(iPlayers[i], pev_viewmodel,  "models/zombie_plague/noone.mdl");

Error:

[IMG]http://img340.**************/img340/2041/dibujovzx.jpg[/IMG]
PattyBiena is offline
PattyBiena
BANNED
Join Date: Jul 2010
Location: Argentina
Old 07-15-2010 , 16:19   Re: Error SV_MODELIndex: model@n▀@'▀ not precached, an the models is precached ._.!
Reply With Quote #2

solved,

pev_viewmodel
-->
pev_viewmodel2
PattyBiena is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 07-15-2010 , 18:23   Re: Solved, move to trash.
Reply With Quote #3

No need to move it to trash.
Change the topic title back because this is a mistake that even experienced coders can make.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
PattyBiena
BANNED
Join Date: Jul 2010
Location: Argentina
Old 07-15-2010 , 18:28   Re: Solved, move to trash.
Reply With Quote #4

Quote:
Originally Posted by ot_207 View Post
No need to move it to trash.
Change the topic title back because this is a mistake that even experienced coders can make.
ok
PattyBiena 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 07:14.


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