Discussion in 'Development' started by SuperXingKong, Mar 5, 2017.
Can I add a function make players ride pig(or other entities) P.S. My English is not very well.
Spoiler: Like this PHP: public function ride($player, $entity){ //////////}
public function ride($player, $entity){ //////////}
you could try linking the entities and setting the data flag DATA_FLAG_RIDING
Thx.I will try it soon.
And can you give me an example?...I am so stupid