vertez69 0 Opublikowano 24 czerwca 2020 Udostępnij Opublikowano 24 czerwca 2020 Skrypt nie zabardzo rozbudowany i profesjonalny ale ja sam musiałem napisać taki skript, ponieważ nigdzie taiego nie znalazlem potrzbny mi byl na zmienianie wiadomosci gamemode o to moj skrypt . command /gm [<text>] [<player>]: permission: admin.gm permission message: "&cNie masz permisji" trigger: if arg 1 is not set: send "&cUzycie &7/&agm &aCreative&7,&aSurvival&7,&aSpectator &7[Gracz]" if arg 2 is set: set {_arg2} to arg 2 if arg 1 is "1" or "Creative": execute console command "/minecraft:gamemode 1 %arg-2%" send "&7Zmieniles tryb gry gracza &a%arg-2% &7na &aCreative" loop 100 times: send "" to {_arg2} send "&7Twoj tryb gry zostal zmieniony na &aCreative" to {_arg2} if arg 1 is "0" or "Survival": execute console command "/minecraft:gamemode 0 %arg-2%" send "&7Zmieniles tryb gry gracza &a%arg-2% &7na &aSurvival" loop 100 times: send "" to {_arg2} send "&7Twoj tryb gry zostal zmieniony na &aSurvival" to {_arg2} if arg 1 is "3" or "Spectator": execute console command "/minecraft:gamemode 3 %arg-2%" loop 100 times: send "" to {_arg2} send "&7Twoj tryb gry zostal zmieniony na &aSpectator" to {_arg2} if arg 2 is not set: if arg 1 is "1" or "Creative": execute console command "/minecraft:gamemode 1 %player%" loop 100 times: send "" send "&7Zmieniles tryb gry na &aCreative" if arg 1 is "0" or "Survival": execute console command "/minecraft:gamemode 0 %player%" loop 100 times: send "" send "&7Zmieniles tryb gry na &aSurvival" if arg 1 is "3" or "Spectator": execute console command "/minecraft:gamemode 3 %player%" loop 100 times: send "" send "&7Zmieniles tryb gry na &aSpectator" stop if arg 2 is set: if arg 1 is "1" or "Creative": execute console command "/minecraft:gamemode 1 %arg-2%" send "&7Zmieniles tryb gry gracza &a%arg-2% na &aCreative" Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
THEzombiePL 9 Opublikowano 25 czerwca 2020 Udostępnij Opublikowano 25 czerwca 2020 (edytowane) Za bardzo nie wiem po co w tym od razu czyszczenie swojego/czyjegoś czatu. I po co to set {_arg2} to arg 2 , jak można dać po prostu send "tekst" to arg 2. Masz tu trochę zedytowany command /gm [<text>] [<player=%player%>]: permission: gm.use permission message: &cNie masz pozwolenia na używanie tej komendy! trigger: if arg 1 is not set: send "&cUzycie&f: &7/&agm &aCreative&7,&aSurvival&7,&aSpectator &7[Gracz]" if arg 1 is "survival" or "surv" or "s" or "sv" or "0": set the gamemode of the arg 2 to survival send "&7Twoj tryb gry zostal zmieniony na &aSurvival" to arg 2 if arg 1 is "creative" or "c" or "1": set the gamemode of the arg 2 to creative send "&7Twoj tryb gry zostal zmieniony na &aCreative" to arg 2 if arg 1 is "adventure" or "adv" or "ad" or "2": set the gamemode of the arg 2 to adventure send "&7Twoj tryb gry zostal zmieniony na &aAdventure" to arg 2 if arg 1 is "spectator" or "spec" or "sp" or "3": set the gamemode of the arg 2 to spectator send "&7Twoj tryb gry zostal zmieniony na &aSpectator" to arg 2 Edytowane 25 czerwca 2020 przez THEzombiePL Usunięty#29318 1 Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
vertez69 0 Opublikowano 25 czerwca 2020 Autor Udostępnij Opublikowano 25 czerwca 2020 coś ci chyba nie wyszło bo chyba innym zmieniać nie możesz z tego co widze po to dałem komende /minecraft:gamemode 1 %arg-2% Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
vertez69 0 Opublikowano 25 czerwca 2020 Autor Udostępnij Opublikowano 25 czerwca 2020 a zaspamiłem dlatego że wyswietla sie na biało Zmieniłeś tryb gry Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
bludis 418 Opublikowano 25 czerwca 2020 Udostępnij Opublikowano 25 czerwca 2020 Ten temat został przeniesiony. Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi