Just call me Oksu Group: Members
Joined: Sep 30, 2010
Hi.
So, I've got few questions about San Andreas:
#1. If you use a simple script to ALWAYS set players weapon to fists, while owning any SMG, and going in the car, the game forces the players current weapon to be SMG. Any way to get around that, and make it changable?
#2. If player is playing specific animation, is it possible to "change" it while performing?
Senior File Manager Group: Members
Joined: Feb 1, 2010
QUOTE (oksa8 @ Tuesday, Jun 5 2012, 11:06)
#1. Won't work, hardcoded?
Yeah, but I've used a trick to allow weapon changing inside the vehicle in GTA: The '95 Story.
CODE
0A96: 2@ = actor $PLAYER_ACTOR struct 000A: 2@ += 0x718 04B8: get_weapon_data_from_actor $PLAYER_ACTOR weapon_group 5 weapon 4@ ammo 5@ model 6@ if 0019: 4@ > 0 then 0A8C: write_memory 2@ size 1 value 4 virtual_protect 0 <- group ID from 04B8 - 1 end
Just call me Oksu Group: Members
Joined: Sep 30, 2010
QUOTE (Deji @ Sunday, Jun 10 2012, 23:18)
The native command name kinda gives it away.
Okay...
I just thought if the type means, either "normal" road, or freeway*. There's noticeable difference in cars when they drive on normal roads and freeways*.