Gas Station Help.
#1

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.
Reply
#2

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

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);
Reply
#4

Thanks, working.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)