FlatYakVolunteer 6 Posted April 26, 2018 Hey guys Faced a problem when the character simply does move, as if it was frozen. As i understand it, it was because of function playerJoinHandle(player) { player.invoke('0xBBAF4B768DDB7572', player, true) // 0xBBAF4B768DDB7572 - FREEZE_ENTITY_POSITION (1.39) } mp.events.add('playerJoin', playerJoinHandle) But here's how to decide - I do not know Put instead of "true" and "false" - nothing has changed. Perhaps someone has come across this - I will be very happy to help. Share this post Link to post Share on other sites
MrPancakers 109 Posted April 26, 2018 According to your comment, the native you're using is for 1.39 which is not what the latest version is running. 0x1A0806871323CD16 - This is apparently the latest one according to a document floating around the discord. Share this post Link to post Share on other sites
ragempdev 798 Posted April 26, 2018 You don't need to use natives to freeze an entity, use https://wiki.rage.mp/index.php?title=Entity::freezePosition Share this post Link to post Share on other sites
FlatYakVolunteer 6 Posted April 26, 2018 6 часов назад, MrPancakers сказал: According to your comment, the native you're using is for 1.39 which is not what the latest version is running. 0x1A0806871323CD16 - This is apparently the latest one according to a document floating around the discord. Does not work Video - here Screen code - here 4 часа назад, ragempdev сказал: You don't need to use natives to freeze an entity, use https://wiki.rage.mp/index.php?title=Entity::freezePosition I tried - it did not work, the log gave something away Share this post Link to post Share on other sites
MrPancakers 109 Posted April 27, 2018 8 hours ago, FlatYakVolunteer said: Does not work Video - here Screen code - here I tried - it did not work, the log gave something away I don't understand what's not working, seems to be working? If what George gave you is what also happens in that video then it's working. What are you expecting to happen? Share this post Link to post Share on other sites
Elliot 47 Posted April 27, 2018 You have to disable controls if you want the player to be completely frozen Share this post Link to post Share on other sites
FlatYakVolunteer 6 Posted April 27, 2018 9 часов назад, MrPancakers сказал: I don't understand what's not working, seems to be working? If what George gave you is what also happens in that video then it's working. What are you expecting to happen? 7 часов назад, Elliot сказал: You have to disable controls if you want the player to be completely frozen I want the opposite, so that it is defrosted I cleaned this command - it did not unfreeze, that was the point. But it's okay, I just started working in a different fashion. Share this post Link to post Share on other sites