Is possible the possible function SetPlayerMapIcon for all players?
#6

maybe use it on OnPlayerConnect like this:

pawn Код:
public OnPlayerConnect(playerid)
{
   SetPlayerMapIcon(playerid, iconid, Float:x, Float:y, Float:z, markertype, color, style);
   return 1;
}
or if you wanna show it on respective time use this:

pawn Код:
for(new i = 0; i <MAX_PLAYERS; i++)
{
   if(IsPlayerConnected(i))
   {
      SetPlayerMapIcon(i, iconid, Float:x, Float:y, Float:z, markertype, color, style);
   }
   return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)