Witam,
Chciałbym stworzyć skrypt na sklep na swój serwer.
Używałem czegoś takiego:
if arg-1 is "kupeq":
if player's balance is less than 800:
send "&cBLAD: &4nie posiadasz wystarczajaco Money !!" to player
execute player command "money"
stop
else:
give 1 diamond helmet of protection 4 and unbreaking 3 to player
give 1 diamond chestplate of protection 4 and unbreaking 3 to player
give 1 diamond leggings of protection 4 and unbreaking 3 to player
give 1 diamond boots of protection 4 and unbreaking 3 to player
remove 800 from player's balance
send "&aPomyslnie zakupiono Set 4/3" to player
stop
Poprosiłbym aby ktoś przerobił to pod kupno rangi coś w tym stylu tylko żeby działało.
if arg-1 is "r1":
if player's balance is less than 70000:
send "&cBLAD: &4nie posiadasz wystarczajaco coinsow !!" to player
execute player command "money"
stop
else:
execute console command pex group evip user
remove 300 from player's balance
send "&aPomyslnie zakupiono Kilof 5/3/3" to player
stop
Pytanie
Uzi 20
Witam,
Chciałbym stworzyć skrypt na sklep na swój serwer.
Używałem czegoś takiego:
if arg-1 is "kupeq": if player's balance is less than 800: send "&cBLAD: &4nie posiadasz wystarczajaco Money !!" to player execute player command "money" stop else: give 1 diamond helmet of protection 4 and unbreaking 3 to player give 1 diamond chestplate of protection 4 and unbreaking 3 to player give 1 diamond leggings of protection 4 and unbreaking 3 to player give 1 diamond boots of protection 4 and unbreaking 3 to player remove 800 from player's balance send "&aPomyslnie zakupiono Set 4/3" to player stop
Poprosiłbym aby ktoś przerobił to pod kupno rangi coś w tym stylu tylko żeby działało.
if arg-1 is "r1": if player's balance is less than 70000: send "&cBLAD: &4nie posiadasz wystarczajaco coinsow !!" to player execute player command "money" stop else: execute console command pex group evip user remove 300 from player's balance send "&aPomyslnie zakupiono Kilof 5/3/3" to player stop
Odnośnik do komentarza
Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi