Commit graph

256 commits

Author SHA1 Message Date
in0finite
eb7c90f0ab sync health 2020-05-31 19:09:44 +02:00
in0finite
e5ef9e03c7 sync weapon fire event 2020-05-31 19:09:44 +02:00
in0finite
eb13b25a3f send next/previous weapon button events 2020-05-31 19:09:44 +02:00
in0finite
d21a9f5c44 send aim/fire button events 2020-05-31 19:09:44 +02:00
in0finite
209cb1e08e end roll state only on server 2020-05-31 19:09:44 +02:00
in0finite
f10c52b902 only on server 2020-05-31 19:09:43 +02:00
in0finite
eaa9247897 only on server and local player 2020-05-31 19:09:43 +02:00
in0finite
884ef2a223 only on server or local player 2020-05-31 19:09:43 +02:00
in0finite
6da98dd68a sync movement input and heading 2020-05-31 19:09:43 +02:00
in0finite
b1acdecd20 fire only on server 2020-05-31 19:09:43 +02:00
in0finite
49eaf4140f only on server 2020-05-31 19:09:43 +02:00
in0finite
4551cb67e9 fix RotatePedInDirectionOfAiming(): it uses aim direction instead of camera direction 2020-05-31 19:09:43 +02:00
in0finite
64f30f6063 only on server 2020-05-31 19:09:43 +02:00
in0finite
78c5263c72 don't disable weapons when hiding them, only disable their renderers 2020-05-31 19:09:43 +02:00
in0finite
4d2cf172da remove unused method 2020-05-31 19:09:43 +02:00
in0finite
44c4012645 aim direction is synced 2020-05-31 19:09:43 +02:00
in0finite
8eaf0c956d ped owner syncvar is assigned before spawning weapon 2020-05-31 19:09:43 +02:00
in0finite
99ee94229b rename method 2020-05-31 19:09:43 +02:00
in0finite
0979fec9de add weapon to ped when it is created on client 2020-05-31 19:09:43 +02:00
in0finite
2bbbd922be AddWeapon() implemented 2020-05-31 19:09:43 +02:00
in0finite
33c78a75cf SwitchWeapon(int) works on client too 2020-05-31 19:09:43 +02:00
in0finite
c40794005a style changes 2020-05-31 19:09:43 +02:00
in0finite
3a3d757dbc throw if not on server 2020-05-31 19:09:43 +02:00
in0finite
2c30229ed7 sync current weapon slot 2020-05-31 19:09:43 +02:00
in0finite
2b0f955352 current weapon is determined based on current slot 2020-05-31 19:09:43 +02:00
in0finite
42f8dedf2a default weapon slot is 0 2020-05-31 19:09:43 +02:00
in0finite
22e2c64682 ... 2020-05-31 19:09:43 +02:00
in0finite
968f51bab4 add stats about current weapon 2020-05-31 19:09:43 +02:00
in0finite
ee25411026 states can detect when current weapon changes 2020-05-31 19:09:43 +02:00
in0finite
9f5679de5f rename method 2020-05-31 19:09:43 +02:00
in0finite
199dc0c442 assign gun flash on client 2020-05-31 19:09:43 +02:00
in0finite
af2f573a7a remove commented code 2020-05-31 19:09:43 +02:00
in0finite
cb2ce01463 ped owner is fully synced ? 2020-05-31 19:09:43 +02:00
in0finite
989793e4ca ped owner is partially synced 2020-05-31 19:09:43 +02:00
in0finite
2b8bfdb6e2 ammo is synced 2020-05-31 19:09:43 +02:00
in0finite
8075e21449 weapon creation done ? 2020-05-31 19:09:43 +02:00
in0finite
8f477c0353 add it to namespace 2020-05-31 19:09:43 +02:00
in0finite
3834b41517 add it to namespace 2020-05-31 19:09:43 +02:00
in0finite
dbbc5cddb8 pressing P makes a request 2020-05-31 19:09:43 +02:00
in0finite
dec6950a48 pressing V makes a request 2020-05-31 19:09:43 +02:00
in0finite
6803d56cbc working on player requests 2020-05-31 19:09:43 +02:00
in0finite
518517a9c6 load ped model as soon as he gets spawned 2020-05-31 19:09:43 +02:00
in0finite
c51798bf75 trying to fix bug when player's sync var was not updated before Ped.Start() executed 2020-05-31 19:09:43 +02:00
in0finite
1f095d54a0 display num focus points 2020-05-31 19:09:43 +02:00
in0finite
221086fe95 working on displaying players on minimap 2020-05-31 19:09:43 +02:00
in0finite
3e89f57747 spawning can be paused, and spawn interval can be configured 2020-05-31 19:09:42 +02:00
in0finite
d7b9abb29c getoradd 2020-05-31 19:09:42 +02:00
in0finite
69042ae62e improvement 2020-05-31 19:09:42 +02:00
in0finite
a1be18c3ce improvement 2020-05-31 19:09:42 +02:00
in0finite
b56cad2992 remove Update() 2020-05-31 19:09:42 +02:00