![]() |
aindexof - serverside
It has come to my attention that aindexof doesn't quite work serverside. When a variable not in the array is questioned, the function returns 0, but it should return -1.
NPC Code: Put this in a weapon script and try it. When you push c, you'll get -1, like you should. But, when you push v, you'll get 0, which is incorrect. I forum PM'ed Stefan, but I wanted to make this thread to ensure he see's it (and to let others know, I suppose). |
| All times are GMT +2. The time now is 05:53 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.