Commit graph

580 commits

Author SHA1 Message Date
in0finite
8510935b63 adapt VehicleSpawnerWindow 2020-05-31 19:09:44 +02:00
in0finite
a935c442ae ... 2020-05-31 19:09:44 +02:00
in0finite
a645e5e8dc improve vehicle spawning API, and add ability to request specific vehicle 2020-05-31 19:09:44 +02:00
in0finite
97bd52728d only on server 2020-05-31 19:09:44 +02:00
in0finite
b8e93dce69 "kill all peds" button available only on server 2020-05-31 19:09:44 +02:00
in0finite
85fe74bacc ped stalker's target is assigned 2020-05-31 19:09:44 +02:00
in0finite
f513eff625 PedStalker can follow any ped, not just local ped 2020-05-31 19:09:44 +02:00
in0finite
69cddbea30 change button names 2020-05-31 19:09:44 +02:00
in0finite
47e4c2cead add request to spawn ped stalker 2020-05-31 19:09:44 +02:00
in0finite
204aeb5d42 add ability to spawn ped around any transform 2020-05-31 19:09:44 +02:00
in0finite
90dc1a7b3a add option to remove current weapon 2020-05-31 19:09:44 +02:00
in0finite
abb05b570b rate-limit weapon requests 2020-05-31 19:09:44 +02:00
in0finite
0632eae48f adapted WeaponsWindow 2020-05-31 19:09:44 +02:00
in0finite
bfa6e330f3 implement weapon related requests 2020-05-31 19:09:44 +02:00
in0finite
4727977207 prevent tick rate override by Mirror 2020-05-31 19:09:44 +02:00
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
4a495cfd71 remove unused code 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
953c57ee9b send aim/fire input 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
8c0d258176 show weapons that ped owns 2020-05-31 19:09:43 +02:00
in0finite
cca9268777 add ped's weapon to player stats 2020-05-31 19:09:43 +02:00
in0finite
968f51bab4 add stats about current weapon 2020-05-31 19:09:43 +02:00
in0finite
8fa8092e8d improvement 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