Witam jest mozliwe zrobienie takiej funkcji która sprawdza czy mam 5 z 8 storgów obojętnie w jakiej kolejności podam przykład bo nie wiem jak takie coś zrobić czy to wg możliwe?
getPlayerStorageValue(cid,1) == 1 and getPlayerStorageValue(cid,2) == 1 and getPlayerStorageValue(cid,3) == 1 and getPlayerStorageValue(cid,4) == 1 and getPlayerStorageValue(cid,5) == 1 and getPlayerStorageValue(cid,6) == 1 and
getPlayerStorageValue(cid,7) == 1 and getPlayerStorageValue(cid,8) == 1 >= 5
albo getPlayerStorageValue(cid,1,2,3,4,5,6,7,8) == 1 >= 3 ??? nie wiem jesli ktos wie jak tkaie cos zrobic to prosze o odpowiedz wazne
getPlayerStorageValue(cid,1) == 1 and getPlayerStorageValue(cid,2) == 1 and getPlayerStorageValue(cid,3) == 1 and getPlayerStorageValue(cid,4) == 1 and getPlayerStorageValue(cid,5) == 1 and getPlayerStorageValue(cid,6) == 1 and
getPlayerStorageValue(cid,7) == 1 and getPlayerStorageValue(cid,8) == 1 >= 5
albo getPlayerStorageValue(cid,1,2,3,4,5,6,7,8) == 1 >= 3 ??? nie wiem jesli ktos wie jak tkaie cos zrobic to prosze o odpowiedz wazne