Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(sscanf(params, "s[32]S()[128]", comm1, comm2))
- {
- ForeachEx(i, MAX_ITEMS)
- {
- if(Item[i][iOwnerType] == ITEM_OWNER_PLAYER && Item[i][iOwner] == PlayerCache[playerid][UID] && Item[i][iUID] != 0)
- {
- if(Item[i][iUse]) format(string, sizeof(string), "%s\n{FFFFFF}%d\t{E8DBC5}%s{FFFFFF}\t\t\t%d\t%d", string, Item[i][iUID], Item[i][iName], Item[i][iValue1], Item[i][iValue2]);
- else format(string, sizeof(string), "%s\n{FFFFFF}%d\t{91896E}%s{FFFFFF}\t\t\t%d\t%d", string, Item[i][iUID], Item[i][iName], Item[i][iValue1], Item[i][iValue2]);
- l++;
- }
- }
- if(l) ShowPlayerDialog(playerid, DIALOG_ITEM, DIALOG_STYLE_LIST, "[Przedmiot] Lista", string, "Uzyj", "Opcje");
- else Infobox(playerid, "Nie znaleziono zadnych przedmiotow.");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement