Gracz gdy ma puste eq normalnie diamondblock wpada do eq potem znika i daje sie item ale jest mały problem bo jak gracz ma prawie całe eq zapełnione i zostaje mu jeden wolny slot to gdy gracz podniesie niesamowity przedmiot to niby wpada do eq ale przedmiot znika i jest nadal wolny slot
on pick up:
if event-item is diamond block:
if name of event-item is "nies20":
wait a tick
broadcast "&3&l[DROP] &6Gracz &5&l%player% &6znalazl &3&lNIESAMOWITY &6przedmiot!"
chance of 20%:
execute console command "mm items give %player% czapkazwzmpnici"
remove 1 of diamond block named "nies20" from player's inventory
stop
chance of 20%:
execute console command "mm items give %player% zbrojazwzmpnici"
remove 1 of diamond block named "nies20" from player's inventory
stop
chance of 20%:
execute console command "mm items give %player% spodniezwzmpnici"
remove 1 of diamond block named "nies20" from player's inventory
stop
chance of 20%:
execute console command "mm items give %player% butyzwzmpnici"
remove 1 of diamond block named "nies20" from player's inventory
stop
execute console command "mm items give %player% mieczzwzmpnici"
remove 1 of diamond block named "nies20" from player's inventory
Pytanie
Kubusieqqq 0
Gracz gdy ma puste eq normalnie diamondblock wpada do eq potem znika i daje sie item ale jest mały problem bo jak gracz ma prawie całe eq zapełnione i zostaje mu jeden wolny slot to gdy gracz podniesie niesamowity przedmiot to niby wpada do eq ale przedmiot znika i jest nadal wolny slot
on pick up: if event-item is diamond block: if name of event-item is "nies20": wait a tick broadcast "&3&l[DROP] &6Gracz &5&l%player% &6znalazl &3&lNIESAMOWITY &6przedmiot!" chance of 20%: execute console command "mm items give %player% czapkazwzmpnici" remove 1 of diamond block named "nies20" from player's inventory stop chance of 20%: execute console command "mm items give %player% zbrojazwzmpnici" remove 1 of diamond block named "nies20" from player's inventory stop chance of 20%: execute console command "mm items give %player% spodniezwzmpnici" remove 1 of diamond block named "nies20" from player's inventory stop chance of 20%: execute console command "mm items give %player% butyzwzmpnici" remove 1 of diamond block named "nies20" from player's inventory stop execute console command "mm items give %player% mieczzwzmpnici" remove 1 of diamond block named "nies20" from player's inventoryOdnośnik do komentarza
https://skript.pl/temat/25238-pomoc-pickup-item/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi