The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
[Rathena] Add sign npc to the script
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Draundenth
Hello, i just figure out how disable vending on all map and enable in certain cells by this script:
- script prontera_vending -1,{ OnInit: setcell "prontera", 0,0, 400,400, cell_novending,1; setcell "prontera", 147,170, 147,130, cell_novending,0; setcell "prontera", 164,170, 164,130, cell_novending,0; end; } prontera mapflag nobranch
now i try to add 4 signs npc:
1. name: Vending Area Start cords: prontera,147, 171, 7 2. name: Vending Area Start cords: prontera,164, 171, 7 3. name: Vending Area End cords: prontera,147, 130, 7 4. name: Vending Area End cords: prontera,164, 130, 7
Just staying sign if somone click it nothing happen, just for info for people where they can vending and where not.
@Edit
Ok i figured out how do that this is script:
- script prontera_vending -1,{ OnInit: setcell "prontera", 0,0, 400,400, cell_novending,1; setcell "prontera", 147,170, 147,130, cell_novending,0; setcell "prontera", 164,170, 164,130, cell_novending,0; end; } prontera,147,171,5 script Vending Area Start#01 837,{ } prontera,164,171,5 script Vending Area Start#02 837,{ } prontera,147,130,5 script Vending Area End#01 837,{ } prontera,164,130,5 script Vending Area End#02 837,{ } prontera mapflag nobranch
Done by myself xD
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.