SA-MP Forums Archive
Problem - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem (/showthread.php?tid=174661)



Problem - eXtr1kE - 06.09.2010

Код:
			if(listitem==0)
            {
                CreateVehicle(402, Random[rand][0], Random[rand][1], Random[rand][2], 0.0000, 0, 0, -1);
				SendClientMessage(playerid, COLOR_LIGHTBLUE, "Masina o poti gasi in parcare, pentru comenzile ei /carhelp.");
			}
So here I want to create from a number one to 50 eg

nr1 = CreateVehicle(402, Random[rand][0], Random[rand][1], Random[rand][2], 0.0000, 0, 0, -1);

And after it was used to make the nr2 and so on ..

Thanks.