invalid function or declaration
#9

pawn Код:
ShowPlayerDialog(playerid,dstats,DIALOG_STYLE_MSGBOX, "%s", "Account: %s\nMoney: $%d\nKills: %d\nDeaths: %d",GetPlayerName(playerid),GetPlayerMoney(playerid),pInfo[playerid][Kills],pInfo[playerid][Deaths] "Close", "");
That is simply not possible! In order for you to use specifiers such as: %s and %d you have to format the string.
I highly recommend you to read the wiki about these functions:
https://sampwiki.blast.hk/wiki/Format
https://sampwiki.blast.hk/wiki/ShowPlayerDialog
Reply


Messages In This Thread
invalid function or declaration - by Axey187 - 01.01.2015, 23:10
Re: invalid function or declaration - by AndySedeyn - 01.01.2015, 23:14
Re: invalid function or declaration - by Axey187 - 01.01.2015, 23:16
Re: invalid function or declaration - by Axey187 - 01.01.2015, 23:19
Re: invalid function or declaration - by AndySedeyn - 01.01.2015, 23:20
Re: invalid function or declaration - by Boot - 01.01.2015, 23:24
Re: invalid function or declaration - by Axey187 - 01.01.2015, 23:26
Re: invalid function or declaration - by Boot - 01.01.2015, 23:31
Re: invalid function or declaration - by AndySedeyn - 01.01.2015, 23:31

Forum Jump:


Users browsing this thread: 1 Guest(s)