Commit graph

17 commits

Author SHA1 Message Date
in0finite
8134b8a1d9 properly detecting when ped is assigned to vehicle and removed from vehicle ; fix radio playing ; wait some time before loading sound of radio station ; 2020-05-31 19:09:57 +02:00
in0finite
75ab5d5d9b sync offset 2020-05-31 19:09:46 +02:00
in0finite
eade6fc3d8 extract method 2020-05-31 19:09:46 +02:00
in0finite
d34ab7d4fe move method to other class 2020-05-31 19:09:45 +02:00
in0finite
94b7404e4f client checks if vehicle is spawned every frame 2020-05-31 19:09:45 +02:00
in0finite
57bb127345 now sending net id of current vehicle 2020-05-31 19:09:45 +02:00
in0finite
ed7ce1429f Improvements 2020-05-31 19:09:41 +02:00
in0finite
e117c2cd81 Fixed several bugs:
- vehicle states are activated on clients at the end of frame, because at the moment of ped creation, vehicle may not be created yet

- ped doesn't switch to stand state in Start(), on clients

- state is now synced using string, not struct, because struct failed to sync after first modification
2020-05-31 19:09:41 +02:00
in0finite
b474d7df85 Converting vehicle states to new API 2 2020-05-31 19:09:41 +02:00
in0finite
4faa53bb1d Converting vehicle states to new API 2020-05-31 19:09:41 +02:00
in0finite
a4329fedea When entering/exiting vehicle, don't change sync interval, but instead disable/enable NetworkTransform 2020-05-31 19:09:40 +02:00
in0finite
23ed98633a Remove DefaultTransformSyncInterval variable 2020-05-31 19:09:40 +02:00
in0finite
7f5b37f85e Disable ped transform syncing while in vehicle 2020-05-31 19:09:40 +02:00
in0finite
7a6c6b4aa8 Fix cleanup 2020-05-31 19:09:39 +02:00
in0finite
5e32312a77 Fix cleanup 2020-05-31 19:09:39 +02:00
in0finite
2842d653ef Working on vehicle sync 5 2020-05-31 19:09:39 +02:00
in0finite
039ae76a14 Initial commit 2020-05-31 19:07:22 +02:00