Dialog help and how to remove player icons on the map. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Dialog help and how to remove player icons on the map. (
/showthread.php?tid=309935)
Dialog help and how to remove player icons on the map. -
davelord - 09.01.2012
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?
Re: Dialog help and how to remove player icons on the map. -
IceCube! - 09.01.2012
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;
}
Re: Dialog help and how to remove player icons on the map. -
Tanush123 - 09.01.2012
also add this
under your OnGameModeInIt (removes people in radar)