SA-MP Forums Archive
Problem with a "new" function. - 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: Problem with a "new" function. (/showthread.php?tid=567437)



Problem with a "new" function. - DavidSparks - 13.03.2015

What should I change for it to be correct?

pawn Код:
new RandomFireSpawn {
{-1441.8286,2653.5562,55.8359},
{-1441.8286,2653.5562,55.8359},
{-1441.8286,2653.5562,55.8359}
};
Ignore that it's the same coords on all 3.


Re: Problem with a "new" function. - Misiur - 13.03.2015

pawn Код:
new Float:RandomFireSpawn[3][3] = {
{-1441.8286,2653.5562,55.8359},
{-1441.8286,2653.5562,55.8359},
{-1441.8286,2653.5562,55.8359}
};