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



Gas Station Help. - Luis- - 10.06.2011

Hello, I am wanting to add all the Gas Station Coords in to one "new" function but I cannot get it to work.

pawn Код:
new const Float:GasStations[1][3] =
{
    {1939.4261, -1767.0397, 13.3828}
};
That is my "new" function.

pawn Код:
CreateDynamic3DTextLabel("Gas Station\nRefuel Spot", COLOR_RED, GasStations[0], GasStations[1], GasStations[2], 100, 0, 0, 0, 0, 0, 0, 10.0);
And this is where the error is occurring.


Re: Gas Station Help. - Luis- - 10.06.2011

Код:
error 035: argument type mismatch (argument 3)



Re: Gas Station Help. - Luis- - 10.06.2011

This one,
pawn Код:
CreateDynamic3DTextLabel("Gas Station\nRefuel Spot", COLOR_RED, GasStations[0], GasStations[1], GasStations[2], 100, 0, 0, 0, 0, 0, 0, 10.0);



Re: Gas Station Help. - Luis- - 10.06.2011

Thanks, working.