Solved How can I get player's level when player is riding a dinosaur?

free_sc

New member
Messages
19
Likes
2
Points
3
Hi,

I'm trying to get player's level. But with the method below, when player was riding a dinosaur, I found the result value was dinosaur's level , not the player's.

How can I get player's level when the player is riding a dinosaur?

1538219815865.png
 
Last edited:
Advertisement

Monetise Your Game Server

Want to monetise your ARK Server? Create your own webstore at tebex.io

free_sc

New member
Messages
19
Likes
2
Points
3
You need to get a rider from the dino. dino->RiderField().
Thank you so much. I found a bug about level in Shop, Currency & Kits. In Arkshop plugin. The method of getting player's level as same as the code above. That means if I set MinLevel param to 100 and when a level 1 player rides a level 100 dinosaur, he can use this kit which need level 100.

I'm wondering if you could help me to report this bug. Because I'm trying to rebuild the arkshop plugin, but I met some errors. I posted a question, but no solutions replay. Thanks again.

https://arkserverapi.com/threads/compiling-arkshop-rebuild-errors.529/
 
Top