Dialog help and how to remove player icons on the map.
#1

Hi, I made a dialog with the options 'Male' and 'Female', now, if the player clicks 'male' I want him to get a male skin ID, 240 preferably, and for the female 233, how can I do such things? And, how can I remove the player icon from the map?
Reply
#2

This is an example and should be edited to fit your code

pawn Код:
if(dialogid == 1)
{
      if(response)
      {
            SendClientMessage(playerid, COLOUR, "So your a male.");
             PlayerInfo[playerid][pGender] = 0;
            PlayInfo[playerid][pSkin] = 240;
      }
      if(!response)
      {
            SendClientMessage(playerid, COLOUR, "So your a female.");
             PlayerInfo[playerid][pGender] = 1;
            PlayInfo[playerid][pSkin] = 233;
      }
    return 1;
}
Reply
#3

also add this
pawn Код:
ShowPlayerMarkers(0);
under your OnGameModeInIt (removes people in radar)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)