%s problem need help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: %s problem need help (
/showthread.php?tid=444290)
%s problem need help -
Anak - 16.06.2013
hello guys i have my custom login system
i have this dialog which opens after player logged in
pawn Код:
new string[256], pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "{FFFFFF}* Account information for nick '{00FF00}%s{FFFFFF}' are following:\n\n1). Account Password: {FF0000}Not Available (Disabled By Staff){FFFFFF}\n2). Admin Level: '{00FF00}%s{FFFFFF}'", pname , pInfo[playerid][Adminlevel]);
ShowPlayerDialog(playerid, account_info, DIALOG_STYLE_MSGBOX, "{00FF00}Account Info", string,"Close","");
problem is in this
Код:
2). Admin Level: '{00FF00}%s{FFFFFF}'
i can only see in dialog
while it should be like this
Код:
2). Admin Level: '0'
i'm using yini hope you will help me
Re: %s problem need help -
InfiniTy. - 16.06.2013
Use %d for integers
Re: %s problem need help -
Anak - 16.06.2013
ohh shit i forgot that
![Cheesy](images/smilies/biggrin.png)
thanks