vijay30393 Posted June 16, 2014 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 114 Reputation: 0 Joined: 05/10/12 Last Seen: April 18, 2020 Share Posted June 16, 2014 I want to request an NPC which getcart; to the players(merchant class) who enter to a map called prt_are01.Since the cart vanishes when merchant class enters to prt_are01,I tried to find the npc which does that and I couldn't find it.Thanks ~ Quote Link to comment Share on other sites More sharing options...
vijay30393 Posted June 18, 2014 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 114 Reputation: 0 Joined: 05/10/12 Last Seen: April 18, 2020 Author Share Posted June 18, 2014 Anyway, Its because of the sc_all sc_end;That will see the cart as buff, So it was removing the cart.This post helped me. http://rathena.org/board/topic/71415-sc-end-to-exclude-cart-remove/ Quote Link to comment Share on other sites More sharing options...
Veracious Posted June 16, 2014 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 179 Reputation: 17 Joined: 04/24/14 Last Seen: February 17, 2024 Share Posted June 16, 2014 http://rathena.org/board/topic/59956-breeder-universal-rental-npc-in-swordman-type/?p=83950 prontera,155,181,5 script Sample 757,{ mes "[Universal Rental Npc]"; mes "Hi, would you like to rent a cart?"; next; switch(select("Yes ofcourse!:No, thanks.")){ Case 1: if( checkcart() || !getskilllv("MC_PUSHCART") ){ mes "Sorry you don't meet the requirements."; }else setcart; break; Case 2: mes "As you wish sir."; break; } mes "Have a nice day!"; close; } Quote Link to comment Share on other sites More sharing options...
vijay30393 Posted June 16, 2014 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 114 Reputation: 0 Joined: 05/10/12 Last Seen: April 18, 2020 Author Share Posted June 16, 2014 (edited) http://rathena.org/board/topic/59956-breeder-universal-rental-npc-in-swordman-type/?p=83950 prontera,155,181,5 script Sample 757,{ mes "[Universal Rental Npc]"; mes "Hi, would you like to rent a cart?"; next; switch(select("Yes ofcourse!:No, thanks.")){ Case 1: if( checkcart() || !getskilllv("MC_PUSHCART") ){ mes "Sorry you don't meet the requirements."; }else setcart; break; Case 2: mes "As you wish sir."; break; } mes "Have a nice day!"; close; } You din't get my point :/ I already have the npc, My problem is not that. I just want the setcart; if people warp to prt_are01 Edited June 16, 2014 by vijay30393 Quote Link to comment Share on other sites More sharing options...
Emistry Posted June 16, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 8 hours ago Share Posted June 16, 2014 you can try this - script Sample#autocart -1,{ OnPCLoadMapEvent: if( strcharinfo(3) == .map$ && !checkcart() && getskilllv( "MC_PUSHCART" ) ) setcart; end; OnInit: .map$ = "prt_are01"; setmapflag( .map$,mf_loadevent ); end; } Quote Link to comment Share on other sites More sharing options...
Question
vijay30393
I want to request an NPC which getcart; to the players(merchant class) who enter to a map called prt_are01.
Since the cart vanishes when merchant class enters to prt_are01,
I tried to find the npc which does that and I couldn't find it.
Thanks ~
Link to comment
Share on other sites
4 answers 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.