Raised This Month: $ Target: $400
 0% 

WEAPON MODELS


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 05-31-2006 , 16:39   WEAPON MODELS
Reply With Quote #1

hmmm might be working on this soon?

Last edited by k007; 09-19-2006 at 10:26.
k007 is offline
Send a message via MSN to k007
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 05-31-2006 , 16:48  
Reply With Quote #2

This only works for v_ models.

You should make it work for w_, p_, and v_
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 05-31-2006 , 16:51  
Reply With Quote #3

you mean this right?%s/v_%s.mdl?
k007 is offline
Send a message via MSN to k007
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 05-31-2006 , 16:53  
Reply With Quote #4

You just need to make 2 more copies of the code you have, and change the names around a little bit, and the code for the entity setting.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 05-31-2006 , 17:09  
Reply With Quote #5

so if put the w_, p_ and some1 didn't put any p and w models would their server crashes?
k007 is offline
Send a message via MSN to k007
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 05-31-2006 , 17:11  
Reply With Quote #6

Just make it so that if the plugin doesn't find it, it doesn't add it.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 05-31-2006 , 17:11  
Reply With Quote #7

how? could u give me a code or somethin?
how about this undee each name
if(file_exists(modelpath)) precache_model(modelpath)
k007 is offline
Send a message via MSN to k007
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 05-31-2006 , 17:26  
Reply With Quote #8

ok i i made few changes tell me if it's good or not?
k007 is offline
Send a message via MSN to k007
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 05-31-2006 , 17:28  
Reply With Quote #9

Do something like

Code:
if(!file_exists(weaponmodel))      return 1
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 05-31-2006 , 17:31  
Reply With Quote #10

Idea of how it works is ok but it is still poorly done.

And Kensai it takes a lot more work for w_ models then what you said.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
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:20.


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