valstr
#1

I want to convert some of my integer value to string. I know its easy with switch but, I'm using it in a msgbox and I don't know how to define it. Here is my code:
pawn Код:
case 3:
{
       format(MsgString,sizeof(MsgString),"Light: %s",light);
       ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"Items",MsgString,"Close","");
}
Characters[playerid][Light] = 1 : available
Characters[playerid][Light] = 0 : unavaible
Reply


Messages In This Thread
valstr - by Rolyn - 23.05.2016, 22:27
Re: valstr - by Jefff - 23.05.2016, 22:31
Re: valstr - by Rolyn - 23.05.2016, 22:32
Re: valstr - by Jefff - 23.05.2016, 22:33
Re: valstr - by Rolyn - 23.05.2016, 22:35
Re: valstr - by Jefff - 23.05.2016, 22:37
Re: valstr - by Rolyn - 23.05.2016, 22:43

Forum Jump:


Users browsing this thread: 1 Guest(s)