SA-MP Forums Archive
Bug in script HELP! - 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: Bug in script HELP! (/showthread.php?tid=429899)



Bug in script HELP! - icko202 - 11.04.2013

Ok, so i made a script with a 2 teams Police and Mafia i made team cars but only one car is working the other are driveable ... please help ill show script, no errors on compile

Script:http://pastebin.com/3tNS7XBa


Re: Bug in script HELP! - L.Hudson - 11.04.2013

try seperating them like in place of
pawn Код:
Cars[Mafia]
put
pawn Код:
Cars[Mafia][0]
but make sure you also change the variable!


Re: Bug in script HELP! - icko202 - 11.04.2013

Sorry, im newbie i dont understand you much, i need to put on the end on everything [0], or making them Cars[Police] then mafia and like that?


Re: Bug in script HELP! - icko202 - 11.04.2013

I changed it but i need to change this too:
if(CarCheck == Cars[Police][0] )
and then it checks car police number 0, how can i make it for all?


Re: Bug in script HELP! - icko202 - 12.04.2013

help pls


Re: Bug in script HELP! - icko202 - 12.04.2013

bump