[SNIPPET] Car Sync onfoot

{
EXAMPLE:
0@ = CAR_HANDLE
0AB1: @SYNC_INN 1 HANDLE 0@
WAIT 0
0224: set_car 0@ health_to 0
WAIT 0
0AB1: @SYNC_OUT 0
- YOU HAVE TO BE ONFOOT.
}


//0AB1: @SYNC_INN 1 HANDLE 0@
:SYNC_INN
0A97: 2@ = car 0@ struct
0A96: 3@ = actor $PLAYER_ACTOR struct
3@ += 1328
0A8C: write_mememory 3@ size 4 value 50 virtual_protect 0
0A96: 3@ = actor $PLAYER_ACTOR struct
3@ += 1420
0A8C: write_mememory 3@ size 4 value 2@ virtual_protect 0
0AB2: ret 0

//0AB1: @SYNC_OUT 0
:SYNC_OUT
0A96: 0@ = actor $PLAYER_ACTOR struct
0@ += 0x530 // State = 0, leaving car
0A8C: write_mememory 0@ size 4 value 1 virtual_protect 0 
0AB2: ret 0
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
Re: Car Sync onfoot

So this adds a sync to cars when you are on-foot so you can shoot at their model? Just to clear things out..
 

DzkAy

Well-known member
Joined
Feb 20, 2014
Messages
472
Reaction score
1
Re: Car Sync onfoot

Is this still works for samp 0.3z R4, i heard that its not sync ...
 

Kabal1

Active member
Joined
Mar 10, 2013
Messages
59
Reaction score
0
Re: Car Sync onfoot

Can i explode with this cars without being in the car ´?
 

blackHat

Expert
Joined
Jul 28, 2013
Messages
930
Reaction score
2
Re: Car Sync onfoot

Kabal1 link said:
Can i explode with this cars without being in the car ´?

yes , but it won't be synced
 

xXx2o1o

New member
Joined
Apr 7, 2014
Messages
1
Reaction score
0
Re: Car Sync onfoot

U will not be able 2 change your weapon after SyncOut...
 
Top