23.05.2016, 22:27
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:
Characters[playerid][Light] = 1 : available
Characters[playerid][Light] = 0 : unavaible
pawn Код:
case 3:
{
format(MsgString,sizeof(MsgString),"Light: %s",light);
ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"Items",MsgString,"Close","");
}
Characters[playerid][Light] = 0 : unavaible