Server crash when i try to join
1 Attachment(s)
I made a new plugin called the hidden, it compiles well, but i can't figure out why the server is crashing when i try to join.
I'm not experienced as you are, i just started today learning sourcemod, any help will be greatfull. |
Re: Server crash when i try to join
Might not solve your issue, but you're missing somthing on line 66. You should use break to break out of a loop. For example: Code:
Also, instead of MAXPLAYERS+1, use MaxClients (SourceMod 1.1.0+) or GetMaxClients() (SourceMod 1.0.4 and older) for your loops. Don't change it in your array declaration on line 12 though - that one's perfectly fine. Another problem is that while the player is turned invisible -or close to it anyway-, his weapons (which are separate entities) are not. The effect of this is a floating gun, which exposes his position right away. |
Re: Server crash when i try to join
thanks, the problem was at the loop it was infinite, i fixed and improved thanks to you.
|
All times are GMT -4. The time now is 21:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.