14.04.2014, 18:40
Try:
And also check do you have this on OnPlayerCommandText
Код:
giveplayerid = ReturnUser(tmp); new kotszer = PlayerInfo[giveplayerid][pKotszer]; <<<ERROR new cigi = PlayerInfo[giveplayerid][pCigi]; <<ERROR new kaja = PlayerInfo[giveplayerid][pKaja]; <<ERROR new orvossag = PlayerInfo[giveplayerid][pOrvossag]; <<ERROR new marihuana = PlayerInfo[giveplayerid][pMarihuana]; <<ERROR new kokain = PlayerInfo[giveplayerid][pKokain]; <<ERROR new heroin = PlayerInfo[giveplayerid][pHeroin]; <<ERROR new opciok[512]; format(opciok, 512,"Mennyisйg\t\tNйv\n\ %d\t\t\tKцtszer\n\ %d\t\t\tSzendvics\n\ %d\t\t\tCigaretta\n\ %d\t\t\tMELOXON 15 mg tabletta\n\ %d\t\t\tMarihuana\n\ %d\t\t\tKokain\n\ %d\t\t\tHeroin\n",kotszer,kaja,cigi,orvossag,marihuana,kokain,heroin); ShowPlayerDialog(playerid, DIALOG_MOTOZAS, DIALOG_STYLE_LIST, "Tбrgyak a szemйlynйl", opciok, "Ok", "Mйgsem");
Код:
new giveplayerid, moneys, idx;