Thread
:
No lag nightvision
View Single Post
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
05-03-2019 , 18:40 Re: No lag nightvision
#
11
@DJEarthQuake - what are even you talking about? If 2+3 = 5, then 3+2=5 as well. In this case it's more like 1=1. If MSG_ONE is equal to 1, it doesn't make any difference in the performance whatsoever. That's pure non-sense. After the plugin gets compiled, the .amxx file doesn't contain MSG_ONE, it contains the value of 1. I doubt that even the compiler is in any way affected from this. What you're suggesting is completely bad practice and pure usage of "magic numbers". If this is how plugins should be made, then we don't even need to have constants in the .inc files.
__________________
My public plugins.
Last edited by OciXCrom; 05-03-2019 at
18:42
.
OciXCrom
View Public Profile
Send a private message to OciXCrom
Find More Posts by OciXCrom