Raised This Month: $ Target: $400
 0% 

simple precache


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lotion
Member
Join Date: Apr 2005
Old 08-28-2005 , 04:05   simple precache
Reply With Quote #1

can someone tell me what i would write in an sma if i wanted a plugin just to precache a model so everyone in my server needs my model? im no coder ;-)
Lotion is offline
pdoubleopdawg
Senior Member
Join Date: Aug 2005
Old 08-28-2005 , 04:16  
Reply With Quote #2

Code:
#include <amxmodx> public plugin_precache() {     precache_model("models/poop.mdl") }
pdoubleopdawg is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 08-28-2005 , 04:17  
Reply With Quote #3

Code:
#include <amxmodx> public plugin_init() {     register_plugin("Precache Models","0.1","blah"); } public plugin_precache() {     precache_model("models/mymodel.mdl");     precache_model("models/mymodel2.mdl"); }
EDIT: Haha you got to it before me! Bastard
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Lotion
Member
Join Date: Apr 2005
Old 08-28-2005 , 05:32  
Reply With Quote #4

thanks guys
Lotion is offline
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 14:35.


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