FlatYakVolunteer Posted April 26, 2018 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.
MrPancakers Posted April 26, 2018 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.
ragempdev Posted April 26, 2018 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
FlatYakVolunteer Posted April 26, 2018 Author 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
MrPancakers Posted April 27, 2018 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?
Elliot Posted April 27, 2018 Posted April 27, 2018 You have to disable controls if you want the player to be completely frozen
FlatYakVolunteer Posted April 27, 2018 Author 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now