Here's a tiny function in case someone is interested in exploring yellow markers all over San Andreas!!
pawn Код:
CMD:showmeyellowmarkers(playerid, params[])
{
YellowMarkersForPlayer(playerid, 0);
return 1;
}
forward YellowMarkersForPlayer(playerid, pos);
public YellowMarkersForPlayer(playerid, pos)
{
switch(pos)
{
case 0, 2, 4:
{
SetPlayerPos(playerid, 2449.17, 689.83, 10.97);
}
case 1, 3:
{
SetPlayerPos(playerid, 2543.15, 1025.16, 10.32);
}
case 5:
{
SendClientMessage(playerid, 0xAA3333AA, "Go and explore!");
}
}
if(pos < 5)
{
SetTimerEx("YellowMarkersForPlayer", 1500, 0, "dd", playerid, ++pos);
}
}
Yellow markers will randomly appear, disappear and reappear in random places. Screenies: