Jump to content
  • 0

ismounting() not working??


danielps

Question


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

I tried many thing different with ismount, and all the sme... 

my scritp test:

if( ismounting() ) { 
        mes "MOUNTING!";
    }
    else{ 
        mes "NOT MOUNTING!!";
    }

 

Both, when i speak with NPC, no meter if i'm mounting or not, allwys tell me "NOT MOUNTING", why script never enter my first if -> 

if( ismounting() ) { 
        mes "MOUNTING!";
    } 

 

Thanks !!

Edited by Emistry
Please use CODEBOX.
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   16
  • Joined:  09/26/16
  • Last Seen:  

reminder, ismounting is for cash mounts, while checkriding is for peco rides.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  896
  • Reputation:   117
  • Joined:  05/23/12
  • Last Seen:  

As example u can take a look at the npc/custom/breeder.txt

 

Rynbef~

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   9
  • Joined:  01/09/12
  • Last Seen:  

Are you sure your char mount "cashmount" ?
Dont tell me you riding on dragon and speak with npc !!

Edited by chne024
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

14 hours ago, chne024 said:

Are you sure your char mount "cashmount" ?
Dont tell me you riding on dragon and speak with npc !!

Yes i am.

 

14 hours ago, Athan17 said:

reminder, ismounting is for cash mounts, while checkriding is for peco rides.

Thanks didn't knw that, i'm new in rathena guys, sorry, i came right now from cronus and herc, they have too many bugs =/

14 hours ago, Rynbef said:

As example u can take a look at the npc/custom/breeder.txt

 

Rynbef~

I'll teste it thanks

 

Thanks you guys, I'll teste it soon i tell you if it worked !

Sorry again for my ignorance, i didn't know ismounting is for cash mounts haha
Thanks ! Hope it work =D

 

14 hours ago, Athan17 said:

reminder, ismounting is for cash mounts, while checkriding is for peco rides.

Worked 100% !!
Thanks a looot !!

Last question, is there any way to block players from using mounts in a especific map?

LIke i don't want players to use anything, dragon, peco, 3rd mounts, anything that gives move speed. Does this flag exist? Like there is the item 12622 Reins_Of_Mount. Players can put it in sotrage, enter the map, and take it from storage =/

Any ideat how to do that?

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Check for mounts and don't allow then disable at commands on the map.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

Worked!
Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...