Jump to content

Question related to setPedFrozen server/client side.


Dreft

Recommended Posts

Posted

On server side script I use setPedFrozen and freeze NPC.

If I use setPedFrozen to unfreeze that NPC on some client side script, that Ped will be unfreezed just for that player on which client side I unfreezed that NPC ?

And also: It's impossible to set animation on ped while it's freezed ?

Posted

I will openly admit to not being too sure about this, but I think "frozen" is a state that's synced between server or client. Otherwise there'd be sync problems since you could "freeze" someone in mid-air client-side and other clients would see him falling...

I also don't think frozen has any effect on animations.

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

Posted

if you will freeze ped just for one player, others will be seeing it as it is for ped syncer.., and that one guy you change it for, will be see that ped "jumping" etc.. becouse game will try to sync it, and froze at the same time .... someting like that

but i dont understand why you want to do it..

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...