optimize the code ?
Give this code here because I think that because it gets segmentation fault error in my server and I think he needs optimization, what do you think?
Code:
#include <amxmodx> |
Re: optimize the code ?
You could register jointeam command and you could register event instead of hooking message, then you could filter Grenade sound in the register_event line.
register_message sound was extracted from a plugin i made, but in your case it is not the better solution. |
Re: optimize the code ?
Connor I not understand anything from scripting will ask you to edit what you judge it necessary, but I hope to perform the functions now.
Could cause segment fault? |
Re: optimize the code ?
You are in scripting help, assuming you already know few things.
PHP Code:
|
Re: optimize the code ?
Maybe very little, thanks anyway for the code, and whether it can cause segment fault or not aware?
|
Re: optimize the code ?
Haven't see anything bad in previous code.
|
| All times are GMT -4. The time now is 19:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.