fix my plugin...crashes server. PLEASE!
Ok...i have tried alot of things, but my plugin seems to still crash the server...Heres the code.
Code:
|
BUMP
|
Code:
Probably because your trying to change it to a model that doesnt exist. Code:
p.s. system looks screwed up to me. |
it IS
|
a) You set the model to "model" as previously pointed out.
b) plugin_precache is called before plugin_init, so the g_szInfo array will be empty and nothing will get precached. try putting ReadFile() at the start of plugin_precache instead of the end of plugin_init? c) it's possible that there could be something wrong with your while() statement that reads the file which is causing an infinite loop, but I'm not sure, only try messing with that if nothing else works. |
2 Attachment(s)
Does this look right and can someone test it for me??
Code:
|
oh...another thing...is there a way to make it load the model on thie first round instead of it loading after the first round ends?
|
| All times are GMT -4. The time now is 23:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.