17.05.2013, 16:18
I tried this, doesnt work.
pawn Код:
new Wallet[MAX_PLAYERS][24];
pawn Код:
new format1[256];
format(Wallet[playerid],24,"Wallet ($%i)",PlayerInfo[playerid][pCash]);
format(format1,256,"%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n",Wallet[playerid],UbranieG[playerid]);
ShowPlayerDialog(playerid, DIALOG_P, DIALOG_STYLE_LIST,"Inventory:",format1,"Use","Close");
pawn Код:
case DIALOG_P:
{
if(response)
{
if(!strcmp(inputtext, Wallet[playerid], true) )
{
//my func here
return 1;
}