18.04.2015, 05:51
Quote:
Yes, thats why i mentioned it. All those callbacks and functions are not default samp's functions.
|
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; }