29.07.2018, 15:02
So, i have to create a mapicon and a textlabel. I have this coordinates:
How i can do it by looping this array to create mapicon and textlabel without doing:
CreateDynamicMapIcon
CreateDynamic3dTextLabel
CreateDynamicMapIcon
CreateDynamic3dTextLabel
CreateDynamicMapIcon
CreateDynamic3dTextLabel
For every coordinate?
Thanks.
pawn Код:
static const Float:AmmuCoords[][] =
{
{286.1489, -40.6443, 1001.5156},
{286.8009, -82.5475, 1001.5156},
{296.9199, -108.0719, 1001.5156},
{314.8209, -141.4319, 999.6015},
{316.5249, -167.7069, 999.5937}
};
CreateDynamicMapIcon
CreateDynamic3dTextLabel
CreateDynamicMapIcon
CreateDynamic3dTextLabel
CreateDynamicMapIcon
CreateDynamic3dTextLabel
For every coordinate?
Thanks.