Vehicle Array - Locking to team issue. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Vehicle Array - Locking to team issue. (
/showthread.php?tid=315563)
Vehicle Array - Locking to team issue. -
zappydude - 03.02.2012
EDIT: Problem solved, mix-up with [] at the end of my array during the for loop caused it to refer to a variable that doesn't exist.
Thanks @ Karagon.
Re: Vehicle Array - Locking to team issue. -
zappydude - 03.02.2012
Bump; Ideally need a reply as it's holding my game-mode's development!
Thanks.
Re: Vehicle Array - Locking to team issue. -
Karagon - 03.02.2012
It should be fixed with what I said on IRC.
But, one of the things I see is this:
Код:
for(new i; i < sizeof(TERRORCAR[]); i++)
If it is that or not, I'm nearly sure. If it's not that, it's the if statement, or a simple function (stock, public), will fix it.