GTA Közösség - A magyar GTA fórum

Multi Theft Auto (MTA) => MTA: Szerverfejlesztés => Archívum => A témát indította: id100 - 2015. szeptember 07. - 17:40:32

Cím: Carry anim
Írta: id100 - 2015. szeptember 07. - 17:40:32
Üdv! Hogyan lehet megoldani hogy a carry anim közben tudjon mozogni szabadon az ember?
Előre kösz id100
Cím: Carry anim
Írta: divkn - 2015. szeptember 07. - 17:46:24
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CARRY);
Cím: Carry anim
Írta: id100 - 2015. szeptember 07. - 18:16:14
várj

Dupla hozzászólás automatikusan összefûzve. ( 2015. szeptember 07. - 18:17:20 )

Ez samp :D Nekem MTA kell
Cím: Carry anim
Írta: Flash - 2015. szeptember 07. - 18:18:08
Csak a google-ba kerestem kicsit.
https://wiki.multitheftauto.com/wiki/Animations#CARRY
Cím: Carry anim
Írta: id100 - 2015. szeptember 07. - 18:19:36
De közben nem lehet mozogni szabadon. Én ugy szeretném vagy legalább úgy hogy lehessen változtatni a járás irányát

Dupla hozzászólás automatikusan összefûzve. ( [time]2015. szeptember 07. 18:27:49[/time] )

Valami ötlet?

Dupla hozzászólás automatikusan összefûzve. ( 2015. szeptember 07. - 19:05:33 )

Most probálom meg bindelésekkel és setControlState-vel (left,right,baskwards és forwards külön külön)
Cím: Carry anim
Írta: lackos888 - 2015. szeptember 07. - 19:19:11
https://wiki.multitheftauto.com/wiki/SetPedAnimation
 

loop: indicates whether or not the animation will loop.
updatePosition: will change the actual coordinates of the ped according to the animation. Use this for e.g. walking animations.
interruptable: if set to \'false\' other tasks wont be able to interupt the animation. Setting this to \'false\' also gives this function more power to override other animations that are running. For example, squatting after a jump can be terminated.
freezeLastFrame: ... (From 1.1 onwards).

 
Ezeket próbálgattad állítani?
Cím: Carry anim
Írta: id100 - 2015. szeptember 07. - 19:22:55
Szia nem, megköszönném hogyha meg tudnád mondani hogy lehet közbe sétálni ilyen beállítási téren.. ?
Cím: Carry anim
Írta: Tarack - 2015. szeptember 07. - 19:43:19
Ezzel próbáld. Szerver oldalon! 100% hogy müködni fog!
 

setPedAnimation(source, \"CARRY\", \"crry_prtial\", 0, true, false, true, true)

 
Ha kliens oldalra akarod akkor a source-t localPlayerre írd át!
Cím: Carry anim
Írta: id100 - 2015. szeptember 07. - 20:04:31
Köszi Tarack Müködik!!

Dupla hozzászólás automatikusan összefûzve. ( 2015. szeptember 07. - 20:22:27 )

És öö... hova rögzitsek ilyen anim közbe pl egy rakás fát?
Koordinátákra kérdzem..