29.09.2012, 19:33
Help, this command does not work: S
I did wrong?
Here an example how I did it:
Thanks in advance.
Sorry for my English.
I did wrong?
Here an example how I did it:
pawn Код:
if(dialogid == 1)
{
if(response)
{
new jugadorid;
jugadorid = strval(inputtext); return 1;
jugadorid = ReturnUser(inputtext); return 1;
if(!strlen(inputtext)) return 1;
if(strlen(inputtext) < 1 || strlen(inputtext) > 25) return 1;
if(jugadorid != INVALID_PLAYER_ID) return 1;
if(jugadorid != playerid) return 1;
if(IsPlayerConnected(jugadorid)) return 1;
//FUNCTION
//FUNCTION
}
}
pawn Код:
COMMAND:text(playerid, params[])
{
ShowPlayerDialog(playerid,1, DIALOG_STYLE_INPUT, "title", "message:", "accept", "Cancel");
return 1;
}
Sorry for my English.