|
 |
|
|
|
|
|
GTA Modification Forums
2 questions animation and memory
 |
|
 |
| |
KirillWd  |
Posted: Thursday, Jul 12 2012, 07:49
|
Player Hater

Group: Members
Joined: Jul 12, 2012

|
Hey, everyone! I have two different question, but I don't want to create one more topic so ask hereFirst: On many SAMP's servers you can choose the animation (for example, WALK_DRUNK from PED) and player still can move and rotate (when you're pressing WASD), but with chosen animation. Well, how can I do the same thing in single game? Second: How to change gravity in the game? I know I should write memory, but how? I've found code's string on some site. This: "WriteMem(0x863984, 0.0015, 4, True)". It doesn't work cos there is no such function in SB. So I've tried to use opcode This: "0A8C: write_memory 0x863984 size 4 value 0.0015 virtual_protect 1". It's probably the stupidest thing I've ever done, but I really don't understand how to change the memory. Can someone expain me or give links for some resources? It would be great if somebody could create CLEO-file and send me a source. That's all I wanted. Peace!
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Michael-Knight1  |
Posted: Thursday, Jul 12 2012, 19:47
|
Never Give UP

Group: Members
Joined: Jul 8, 2012


|
| QUOTE (KirillWd @ Thursday, Jul 12 2012, 19:31) | | QUOTE (Bad.boy! @ Thursday, Jul 12 2012, 17:50) | | QUOTE (KirillWd @ Thursday, Jul 12 2012, 14:08) | | But the anim problem still exists |
Have you tried my solution?
| CODE | | 0245: set_actor $PLAYER_CHAR walk_style_to "FATMAN" // "WALK_DRUNK" in your case |
|
yep, I have. Nothing's out. The walk style doesn't change. so it's done somehow else in samp |
Write Full Script
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|