03.01.2010, 17:45
How can i handle PlayerName[playerid] in a ShowPlayerDialog?
Now i have this:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"L ogin","You have recieved a ticket of %s \n press pay to pay or jail if you dont \n want to pay the ticket!",PlayerName[playerid],"Pay","Jail");
but i get an error by that line: warning 202: number of arguments does not match definition
Know anybody how to fix this?
Thx
Now i have this:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"L ogin","You have recieved a ticket of %s \n press pay to pay or jail if you dont \n want to pay the ticket!",PlayerName[playerid],"Pay","Jail");
but i get an error by that line: warning 202: number of arguments does not match definition
Know anybody how to fix this?
Thx