help plz argument type mismatch (argument 4)
#1

if(listitem == 3)
{
ShowPlayerDialog(playerid, pToken, DIALOG_TOKEN, DIALOG_STYLE_INPUT, "Token", pToken[], "Kamu mempunyai Token:", "Simpan", "Batal");
}
Reply
#2

Well if you look up https://sampwiki.blast.hk/wiki/ShowPlayerDialog you see that arguments are in the wrong order.

PHP код:
ShowPlayerDialog(playeridDIALOG_TOKENDIALOG_STYLE_INPUT"Token""Kamu mempunyai Token:""Simpan""Batal"); 
Or similar. Not sure where to put pToken since I don't know what you intend to do and what it contains.
If it contains the token that a player has and you want to show it to the player, you should format a new string with all of the text there and pass it in place of "Kamu mempunyai..."
Reply
#3

thx rep+
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)