Skin Dialog Random Skin HELP!!! [REPS++]
#9

Quote:
Originally Posted by Gammix
View Post
Yes, thats why i mentioned it. All those callbacks and functions are not default samp's functions.
Is this corrected? If not please fix this...


Code:
public OnPlayerEnterClassSelection(playerid)
{
	//Now show your dialogs here:
	ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, "Select Genre", "Just Give me random!", "OK", "");

	return 0;//returning 0, the player will go to spectate screen
}
Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == 0)
	{
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0:
	            {
	                SetPlayerSkin(playerid, 1);//The Truth Skin
	            }
	        }
	    }
	}
	return 1;
}
After clicked "OK" nothing happened.. how to make player spawned with that skin?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)