30.10.2018, 10:10
There you go:
pawn Код:
#include <a_samp>
enum g_FishingPos
{
Float:fishX,
Float:fishY,
Float:fishZ
}
new const Float:FishingPoints[][g_FishingPos] =
{
{403.8615, -2088.7983, 7.8359},
{398.6964, -2088.7981, 7.8359},
{396.1438, -2088.7981, 7.8359},
{391.0257, -2088.7983, 7.8359},
{383.4240, -2088.7983, 7.8359},
{374.9918, -2088.7983, 7.8359},
{369.8525, -2088.7981, 7.8359},
{367.2137, -2088.7954, 7.8359},
{362.1895, -2088.7983, 7.8359},
{354.3215, -2088.6377, 7.8359}
};
public OnFilterScriptInit()
{
for(new i = 0; i < sizeof(FishingPoints); i++)
{
Create3DTextLabel("Fishing Point", 0x008080FF, FishingPoints[i][fishX], FishingPoints[i][fishY], FishingPoints[i][fishZ], 40.0, 0, 0);
}
return 1;
}