Commit graph

170 commits

Author SHA1 Message Date
in0finite
7360e6f0ca Rename var 2020-05-31 19:09:39 +02:00
in0finite
531da482ff Fix for vehicle receiving input from non-local peds 2020-05-31 19:09:39 +02:00
in0finite
1e83309e53 Remove unused code 2020-05-31 19:09:39 +02:00
in0finite
1865251ebb Additional check 2020-05-31 19:09:39 +02:00
in0finite
07fa4c2752 Comments 2020-05-31 19:09:39 +02:00
in0finite
45418f88e0 Working on vehicle exiting 2 2020-05-31 19:09:39 +02:00
in0finite
be83e941a7 Working on vehicle exiting 2020-05-31 19:09:39 +02:00
in0finite
6ae76e392f Working on vehicle sync 7 2020-05-31 19:09:39 +02:00
in0finite
8026142938 Add cleanup 2020-05-31 19:09:39 +02:00
in0finite
9a5d6a3ec6 Working on vehicle sync 6 2020-05-31 19:09:39 +02:00
in0finite
c3bd5362d5 Don't set camera parent 2020-05-31 19:09:39 +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
b1dcbd80c8 Improvement 2020-05-31 19:09:39 +02:00
in0finite
028c63955c Remove commented code 2020-05-31 19:09:39 +02:00
in0finite
e4644c1319 Fix 2020-05-31 19:09:39 +02:00
in0finite
4cae66d0c2 Sitting state should be done 2020-05-31 19:09:39 +02:00
in0finite
2842d653ef Working on vehicle sync 5 2020-05-31 19:09:39 +02:00
in0finite
63491e76ea Working on vehicle sync 4 2020-05-31 19:09:39 +02:00
in0finite
f3eff67bdf Improvement 2020-05-31 19:09:39 +02:00
in0finite
c7ce53f6e1 Almost done with vehicle entering 2020-05-31 19:09:39 +02:00
in0finite
6472f3c73e Working on vehicle sync 3 2020-05-31 19:09:39 +02:00
in0finite
b89e365619 Remove unused code for camera 2020-05-31 19:09:39 +02:00
in0finite
9944d54c20 Split into another function 2020-05-31 19:09:39 +02:00
in0finite
a90cb21be6 Cleanup coroutine 2020-05-31 19:09:39 +02:00
in0finite
f159f76806 Remove log message 2020-05-31 19:09:39 +02:00
in0finite
5e8d96aead Working on vehicle sync 2 2020-05-31 19:09:39 +02:00
in0finite
09b1bfae30 Working on vehicle sync 2020-05-31 19:09:39 +02:00
in0finite
f9e89e25ea Improvements 2020-05-31 19:09:39 +02:00
in0finite
30dc42d3ad Enter vehicle only on server 2020-05-31 19:09:39 +02:00
in0finite
91ffd9531f Removed commented code 2020-05-31 19:09:39 +02:00
in0finite
5a720b020a Fix another NRE 2020-05-31 19:09:39 +02:00
in0finite
344318f558 Fix NRE caused by updating camera in LateUpdate() 2020-05-31 19:09:39 +02:00
in0finite
669daa23be Send crouch button event 2020-05-31 19:09:39 +02:00
in0finite
9f64097b5e Exit crouch move state only on server 2020-05-31 19:09:39 +02:00
in0finite
2681264b40 Exit crouch state only on server 2020-05-31 19:09:39 +02:00
in0finite
e2895deb31 Improvement 2020-05-31 19:09:39 +02:00
in0finite
4d00d5df55 Add comments 2020-05-31 19:09:39 +02:00
in0finite
bda70b5bfb Only on server 2020-05-31 19:09:39 +02:00
in0finite
8ea0d445ac Add comment 2020-05-31 19:09:39 +02:00
in0finite
d2a5764624 Fix log 2020-05-31 19:09:39 +02:00
in0finite
1204ff9942 Log when player connects 2020-05-31 19:09:38 +02:00
in0finite
50c31a61be Log some info when player disconnects 2020-05-31 19:09:38 +02:00
in0finite
da380e0fa1 Kill player's ped after he disconnects 2020-05-31 19:09:38 +02:00
in0finite
c88920e3f8 Send input from Update(), with a specified max rate 2020-05-31 19:09:38 +02:00
in0finite
787603cdb8 Don't reset input after sending it 2020-05-31 19:09:38 +02:00
in0finite
60c5284984 Camera is updated in LateUpdateState() - this seems to have fixed the problem with camera shaking 2020-05-31 19:09:38 +02:00
in0finite
907db40357 Set default IP to 127.0.0.1 2020-05-31 19:09:38 +02:00
in0finite
9096954525 Send heading 2020-05-31 19:09:38 +02:00
in0finite
929bb22fb5 Testing client behaviour when input is reset 2020-05-31 19:09:38 +02:00