06.08.2013, 15:23
Hello
Here is my problem...I tryed something like this:
And OnDialogResponse:
But didn't work
Here is my problem...I tryed something like this:
pawn Код:
CMD:skin(playerid, params[])
{
ShowPlayerDialog(playerid, 6, DIALOG_STYLE_INPUT, "{FF8000}Choose Your Skin:", "Type in an ID of a skin, you want to choose! (0 - 299)", "Choose", "");
return 1;
}
pawn Код:
if(dialogid == 6)
{
if(response == 1)
{
if(strlen(inputtext))
{
SetPlayerSkin(playerid, strlen(inputtext));
}
}
}