How to handle PlayerName[playerid]?
#1

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
Reply
#2

I doesnt know much about ShowPlayerDialog but add it after "Jail", PlayerName[playerid]);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)