SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 18/09/2019, 12:03 PM   #11
darkdrago
Huge Clucker
 
darkdrago's Avatar
 
Join Date: Nov 2009
Location: Italy
Posts: 290
Reputation: 38
Default Re: Talk animations freeze player

Seems weird to me, the parameters i posted are from a roleplay gamemode which allows to walk...
Try to clear your animations before, maybe you got another anim on? Idk
__________________
darkdrago is offline   Reply With Quote
Old 18/09/2019, 02:00 PM   #12
IzadorO
Big Clucker
 
IzadorO's Avatar
 
Join Date: Feb 2015
Location: Scotland, Glasgow
Posts: 153
Reputation: 10
Default Re: Talk animations freeze player

Perhaps, I hadn't thought of trying that, I will do it now.
IzadorO is online now   Reply With Quote
Old 18/09/2019, 02:12 PM   #13
IzadorO
Big Clucker
 
IzadorO's Avatar
 
Join Date: Feb 2015
Location: Scotland, Glasgow
Posts: 153
Reputation: 10
Default Re: Talk animations freeze player

Ye athat didn't work either. There must be something in the script, perhaps even an include preventing it? I will have a look, thanks for the help though.
IzadorO is online now   Reply With Quote
Old 18/09/2019, 04:57 PM   #14
DRIFT_HUNTER
High-roller
 
Join Date: Oct 2009
Posts: 2,088
Reputation: 188
Default Re: Talk animations freeze player

pawn Code:
ApplyAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)
As you can see, third argument at the end is freeze, if you set it to 1 it will freeze player. Also LockX and LockY should be set to 1 so they dont get teleported back to the place where animation started when it ends.
Read documentation at https://wiki.sa-mp.com/wiki/SpecialActions
__________________
Looking for someone to start drifting server, drop me a pm if you are interested.


Any PM's that include question about any kind of help will be ignored.
Use appropriate boards for that
DRIFT_HUNTER is offline   Reply With Quote
Old 19/09/2019, 01:16 AM   #15
IzadorO
Big Clucker
 
IzadorO's Avatar
 
Join Date: Feb 2015
Location: Scotland, Glasgow
Posts: 153
Reputation: 10
Default Re: Talk animations freeze player

Yea that's true however it freezes the player at the end of the animation not the start of it. LockX and LockY wouldn't make a difference due to me using a timer which detects how long the animation should be played based on length of text. Must be something else inside the script conflicting.
IzadorO is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
player anim talk ? Yves Scripting Help 4 09/02/2013 11:16 PM
My npc wont talk on player entry Jagofr Scripting Help 8 17/10/2011 01:12 PM
How to freeze a player 02manchestera Help Archive 4 05/03/2010 07:49 PM
[HELP] How to talk the talk, then what name the pipeline on the head. uplovethai Help Archive 3 11/12/2009 02:33 PM


All times are GMT. The time now is 09:49 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.