02-15-2013, 05:08 PM
Code:
# Ilosc do opuszczenia respa #
minSPEAR=3
# Ilosc spearów #
amountSPEAR=25
# Cena speara#
costSPEAR=10
# Id speara 7378 royal spear #
SPEAR=9148
to dać w Variables
teraz w banku
Code:
Say (32326 31782 7:hi)
NPCSay (32326 31782 7:withdraw)
Withdraw (32326 31782 7:!SPEAR! !costSPEAR! !amountSPEAR!)
NPCSay (32326 31782 7:yes)
i w sklepie
Code:
Say (32345 31828 7:hi)
NPCSay (32345 31828 7:trade)
Buy (32345 31828 7:!SPEAR! !amountSPEAR!)
a w full check label
!SPEAR!<=!minSPEAR!
i pamiętaj że jak dodajesz nową rzecz to oddzielasz ; średnikiem
i wszystko ustawiasz w jednym miejscu