function bg_createBoard(p: player, t: text, size: integer = 15):
set {_uuid} to uuid of {_p}
bg_deleteBoard({_p})
add "&a", "&b", "&c", "&d", "&e", "&1", "&2", "&3", "&4", "&5", "&6", "&7", "&8", "&9" and "&f" to {_d::*}
if stylish scoreboard "%{_t}%-%{_p}%" does not exist:
create new stylish scoreboard named "%{_t}%-%{_p}%"
loop {_size} times:
create a new id based score "%{_p}%Slot%loop-number%" with text "%{_d::%loop-number%}%" slot loop-number for stylish scoreboard "%{_t}%-%{_p}%"
wait a tick
set stylish scoreboard of {_p} to "%{_t}%-%{_p}%"
if {_t} is "BG-GAME":
set title of stylish scoreboard "BG-GAME-%{_p}%" to "&eBATTLE ROYALE"
while {bg.arena.%{bg.player::%{_uuid}%.arena}%.status} is "INGAME":
if location of {_p} is in within border:
set {_state} to "&aSAFE"
else:
set {_state} to "&cNOT SAFE"
Erreur:
Can't compare a location with 'in within border'
Bonjour j'ai cette erreur au dessu et j'ai fait des recherche mais j'ai rien trouvé cela fonctionne en 1.8 mais pas en 1.12
Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.
Question
superrtutur2
Version: 1.12.2
Version skript: v37c
Addons skript: Skelett, SkQuery, SkRayFall, MundoSK, TuSKe
Skript:
function bg_createBoard(p: player, t: text, size: integer = 15): set {_uuid} to uuid of {_p} bg_deleteBoard({_p}) add "&a", "&b", "&c", "&d", "&e", "&1", "&2", "&3", "&4", "&5", "&6", "&7", "&8", "&9" and "&f" to {_d::*} if stylish scoreboard "%{_t}%-%{_p}%" does not exist: create new stylish scoreboard named "%{_t}%-%{_p}%" loop {_size} times: create a new id based score "%{_p}%Slot%loop-number%" with text "%{_d::%loop-number%}%" slot loop-number for stylish scoreboard "%{_t}%-%{_p}%" wait a tick set stylish scoreboard of {_p} to "%{_t}%-%{_p}%" if {_t} is "BG-GAME": set title of stylish scoreboard "BG-GAME-%{_p}%" to "&eBATTLE ROYALE" while {bg.arena.%{bg.player::%{_uuid}%.arena}%.status} is "INGAME": if location of {_p} is in within border: set {_state} to "&aSAFE" else: set {_state} to "&cNOT SAFE"
Erreur:
Can't compare a location with 'in within border'
Bonjour j'ai cette erreur au dessu et j'ai fait des recherche mais j'ai rien trouvé cela fonctionne en 1.8 mais pas en 1.12
Merci des reponses suivant.
1 réponse à cette question
Messages recommandés