AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   simple precache (https://forums.alliedmods.net/showthread.php?t=17243)

Lotion 08-28-2005 04:05

simple precache
 
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 ;-)

pdoubleopdawg 08-28-2005 04:16

Code:
#include <amxmodx> public plugin_precache() {     precache_model("models/poop.mdl") }

v3x 08-28-2005 04:17

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 :(

Lotion 08-28-2005 05:32

:D :D:D:D thanks guys


All times are GMT -4. The time now is 14:35.

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