Interesting. That has to be tested. I'll test it when I have time and post the results here on the board. It might become useful for servers with ping kickers.
Hi.
I've been all over the wiki and this board now, and I can't find out how to create images and show them in game. Can some one possibly make a short guide for it?
Thanks in advance.
The first thing is a GTA issue, not MTA.
Anyways, I have the solution for it. You don't have to close and reopen the game in order to make it work. It happens because MTA is partially out of focus (don't ask me how ), and it can be fixed by Alt + Tabbing a few times until you get it right. It's about Alt + Tabbing away from the MTA application (I know you can't minimize it but that's not what I'm saying either) and back again. If your eyes are fast enough you can see the Windows Alt + Tab application for some miliseconds.
I'll try and see.. Anyway, the reason why I wrote "if 0.0 < tmpLoss < 5.0" and not "if 0.0 < tmpLoss and tmpLoss < 5.0" is that you can do so in Pawn, C/C++, Visual Basic, PHP etc. I'm already getting tired of LUA's limitations. I'll be back soon with the results.
EDIT:
Okay your solution worked. I'm both happy and disappointed. I'm happy because I now don't have to worry about it anymore and I'm disappointed because LUA sucks ass
Anyway, thanks for your help mate
I've tried that in another situation just like this one (getDistanceBetweenPoints3D and comparing the same positions gives a value of 0, which it also understands as a boolean), and it didn't do any difference. Either way it would, logically, still be misunderstood by MTA if the float is rounded up/down to 0 or 1 as false or true.