Skip to content

Commit a183327

Browse files
committed
Phone (contacts, messages), housing system, fix placeable objects
1 parent 5422d60 commit a183327

138 files changed

Lines changed: 624 additions & 95121 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

housing_api.lua

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
CurrentDrawedLine = {}
2+
--CurrentDrawedLine["uuid"] = {sX=41012,sY=191268,sZ=547,eX=39572,eY=188993,eZ=547,thickness=5}
3+
4+
AddRemoteEvent("World:AddLine3D", function(id, sX, sY, sZ, eX, eY, eZ, thickness)
5+
CurrentDrawedLine[id] = {sX=sX,sY=sY,sZ=sZ,eX=eX,eY=eY,eZ=eZ,thickness=thickness}
6+
end)
7+
8+
AddEvent("OnGameTick", function(DeltaSeconds)
9+
for _,line in pairs(CurrentDrawedLine) do
10+
DrawLine3D(line.sX, line.sY, line.sZ, line.eX, line.eY, line.eZ, line.thickness)
11+
end
12+
end)
13+
14+
AddRemoteEvent("World:DeleteLine3D", function(id)
15+
CurrentDrawedLine[id] = nil
16+
end)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"author":"Yuki","version":"1.0","files":["ui/web/dist/-1.8738fa9c.png","ui/web/dist/1.c8f0e02c.jpg","ui/web/dist/10.0662a962.png","ui/web/dist/11.0e5fc2d9.png","ui/web/dist/12.b35a1a8a.png","ui/web/dist/13.a14cf830.png","ui/web/dist/14.ae904303.png","ui/web/dist/15.69e5f533.png","ui/web/dist/156.33c536eb.png","ui/web/dist/1574.3b3d42a1.png","ui/web/dist/16.bdb46659.png","ui/web/dist/17.8f0f90e2.png","ui/web/dist/18.7dd5c0bd.png","ui/web/dist/19.0a1ad060.png","ui/web/dist/2.2b8bb13a.png","ui/web/dist/20.dcd2e9c9.png","ui/web/dist/21.1fdb4d54.png","ui/web/dist/22.996a6d8b.png","ui/web/dist/23.4aee3e9a.png","ui/web/dist/24.77440a4d.png","ui/web/dist/25.1a7c55e0.png","ui/web/dist/26.f264d122.png","ui/web/dist/27.e4c2a991.png","ui/web/dist/28.865ab7bf.png","ui/web/dist/29.f2787f13.png","ui/web/dist/3.f9b78951.jpg","ui/web/dist/30.ac517333.png","ui/web/dist/31.e5a55639.jpg","ui/web/dist/32.cc82915c.jpg","ui/web/dist/4.e490fdbf.png","ui/web/dist/5.30378137.jpg","ui/web/dist/50001.cb571b63.png","ui/web/dist/508.b5c07ba5.png","ui/web/dist/514.0118d934.png","ui/web/dist/554.10285a38.png","ui/web/dist/6.a483f41b.png","ui/web/dist/7.9f6cce01.png","ui/web/dist/8.ce5a1799.png","ui/web/dist/9.793ade8a.png","ui/web/dist/AldotheApache.06dee643.woff","ui/web/dist/AldotheApache.8707ff58.woff2","ui/web/dist/anchor.074ec25f.png","ui/web/dist/animate.aa6560e3.css","ui/web/dist/animate.aa6560e3.css.map","ui/web/dist/apple.9ebbc630.png","ui/web/dist/bananas.0c61e964.png","ui/web/dist/cash.e69acbd7.png","ui/web/dist/cuff.2aa511ef.png","ui/web/dist/death_icon.04678e81.png","ui/web/dist/defibrilator.eec0a5dd.png","ui/web/dist/fishing_rod.a207bc5d.png","ui/web/dist/icon_atm.6e210cd0.png","ui/web/dist/icon_delivery.2d3b83cf.png","ui/web/dist/icon_delivery_stock.d035bb91.png","ui/web/dist/icon_ems.b1026bed.png","ui/web/dist/icon_fisher.3c9eff5f.png","ui/web/dist/icon_fisher_seller.33f8da46.png","ui/web/dist/icon_garage.a29464bd.png","ui/web/dist/icon_garbage.1eef6427.png","ui/web/dist/icon_garbage_bin.0b8657a1.png","ui/web/dist/icon_gasstation.c17cee2b.png","ui/web/dist/icon_hopital.182465de.png","ui/web/dist/icon_lumberjack.0ddcbc54.png","ui/web/dist/icon_lumberjack.51199a2d.png","ui/web/dist/icon_lumberjack_seller.0a934559.png","ui/web/dist/icon_miner.25c206ab.png","ui/web/dist/icon_miner.8d186231.png","ui/web/dist/icon_miner_seller.30ea7eb6.png","ui/web/dist/icon_police.63b21800.png","ui/web/dist/icon_police.a8d6d2e4.png","ui/web/dist/icon_vseller.bdd6a420.png","ui/web/dist/icon_weed.9206594a.png","ui/web/dist/index.html","ui/web/dist/jerrican_fuel.66dee607.png","ui/web/dist/layers-2x.d8c4f271.png","ui/web/dist/layers.350ec81b.png","ui/web/dist/ls.b3a33602.png","ui/web/dist/lumberjack_hatchet.dee1a5cf.png","ui/web/dist/map.5920ca6f.jpg","ui/web/dist/marker-icon.b29b8023.png","ui/web/dist/phone.6df0da0d.png","ui/web/dist/pickaxe.850a4185.png","ui/web/dist/player_cursor.45a97301.png","ui/web/dist/pot.096b19cf.png","ui/web/dist/salmon.de9c42f6.png","ui/web/dist/scripts.2edc5901.js","ui/web/dist/scripts.2edc5901.js.map","ui/web/dist/scripts.58a06279.css","ui/web/dist/scripts.58a06279.css.map","ui/web/dist/styles.7f9bee4a.css","ui/web/dist/styles.7f9bee4a.css.map","ui/web/dist/ticket_delivery_generator.481c3c85.png","ui/web/dist/ticket_delivery_growbox.a6b6ba33.png","ui/web/dist/vkey.4c663d93.png","ui/web/dist/wallpaper1.8c5775cd.jpg","ui/web/dist/water.b8f02a77.png","ui/web/dist/weed.a928857c.png","ui/web/dist/weed_seed_1.f63dec6c.png","sounds/ambiant_1.mp3","sounds/atm_sound_in.mp3","sounds/carLock.mp3","sounds/cartoon_accent.mp3","sounds/carUnlock.mp3","sounds/cash_register.mp3","sounds/chop_wood.mp3","sounds/defibrilator.mp3","sounds/fishing_1.mp3","sounds/hand_cuff.mp3","sounds/ls_sound.mp3","sounds/pickaxe_hit.mp3","sounds/pickup_object.mp3","sounds/power_generator.mp3","sounds/saw_mill_cut.mp3","sounds/shop_bell.mp3","sounds/success_1.mp3","sounds/water_fill.mp3","sounds/white_noise.mp3","paks/YRPF.pak"],"server_scripts":null,"client_scripts":["ui/ui.lua","client_api.lua","sound_api.lua","character_api.lua","job_api.lua","modding_api.lua"]}
1+
{"author":"Yuki","version":"1.0","files":["ui/web/dist/-1.8738fa9c.png","ui/web/dist/1.c8f0e02c.jpg","ui/web/dist/10.0662a962.png","ui/web/dist/11.0e5fc2d9.png","ui/web/dist/12.b35a1a8a.png","ui/web/dist/13.a14cf830.png","ui/web/dist/14.ae904303.png","ui/web/dist/15.69e5f533.png","ui/web/dist/156.33c536eb.png","ui/web/dist/1574.3b3d42a1.png","ui/web/dist/16.bdb46659.png","ui/web/dist/17.8f0f90e2.png","ui/web/dist/18.7dd5c0bd.png","ui/web/dist/19.0a1ad060.png","ui/web/dist/2.2b8bb13a.png","ui/web/dist/20.dcd2e9c9.png","ui/web/dist/21.1fdb4d54.png","ui/web/dist/22.996a6d8b.png","ui/web/dist/23.4aee3e9a.png","ui/web/dist/24.77440a4d.png","ui/web/dist/25.1a7c55e0.png","ui/web/dist/26.f264d122.png","ui/web/dist/27.e4c2a991.png","ui/web/dist/28.865ab7bf.png","ui/web/dist/29.f2787f13.png","ui/web/dist/3.f9b78951.jpg","ui/web/dist/30.ac517333.png","ui/web/dist/31.e5a55639.jpg","ui/web/dist/32.cc82915c.jpg","ui/web/dist/4.e490fdbf.png","ui/web/dist/5.30378137.jpg","ui/web/dist/50001.cb571b63.png","ui/web/dist/508.b5c07ba5.png","ui/web/dist/514.0118d934.png","ui/web/dist/554.10285a38.png","ui/web/dist/6.a483f41b.png","ui/web/dist/7.9f6cce01.png","ui/web/dist/8.ce5a1799.png","ui/web/dist/9.793ade8a.png","ui/web/dist/AldotheApache.06dee643.woff","ui/web/dist/AldotheApache.8707ff58.woff2","ui/web/dist/anchor.074ec25f.png","ui/web/dist/animate.aa6560e3.css","ui/web/dist/animate.aa6560e3.css.map","ui/web/dist/apple.9ebbc630.png","ui/web/dist/bananas.0c61e964.png","ui/web/dist/cash.e69acbd7.png","ui/web/dist/cuff.2aa511ef.png","ui/web/dist/death_icon.04678e81.png","ui/web/dist/defibrilator.eec0a5dd.png","ui/web/dist/fishing_rod.a207bc5d.png","ui/web/dist/icon_atm.6e210cd0.png","ui/web/dist/icon_delivery.2d3b83cf.png","ui/web/dist/icon_delivery_stock.d035bb91.png","ui/web/dist/icon_ems.b1026bed.png","ui/web/dist/icon_fisher.3c9eff5f.png","ui/web/dist/icon_fisher_seller.33f8da46.png","ui/web/dist/icon_garage.a29464bd.png","ui/web/dist/icon_garbage.1eef6427.png","ui/web/dist/icon_garbage_bin.0b8657a1.png","ui/web/dist/icon_gasstation.c17cee2b.png","ui/web/dist/icon_hopital.182465de.png","ui/web/dist/icon_lumberjack.0ddcbc54.png","ui/web/dist/icon_lumberjack.51199a2d.png","ui/web/dist/icon_lumberjack_seller.0a934559.png","ui/web/dist/icon_miner.25c206ab.png","ui/web/dist/icon_miner.8d186231.png","ui/web/dist/icon_miner_seller.30ea7eb6.png","ui/web/dist/icon_police.63b21800.png","ui/web/dist/icon_police.a8d6d2e4.png","ui/web/dist/icon_vseller.bdd6a420.png","ui/web/dist/icon_weed.9206594a.png","ui/web/dist/index.html","ui/web/dist/jerrican_fuel.66dee607.png","ui/web/dist/layers-2x.d8c4f271.png","ui/web/dist/layers.350ec81b.png","ui/web/dist/ls.b3a33602.png","ui/web/dist/lumberjack_hatchet.dee1a5cf.png","ui/web/dist/map.5920ca6f.jpg","ui/web/dist/marker-icon.b29b8023.png","ui/web/dist/phone.6df0da0d.png","ui/web/dist/pickaxe.850a4185.png","ui/web/dist/player_cursor.45a97301.png","ui/web/dist/pot.096b19cf.png","ui/web/dist/Roboto-Regular.227d0f9b.woff","ui/web/dist/Roboto-Regular.47c26b4b.woff2","ui/web/dist/salmon.de9c42f6.png","ui/web/dist/scripts.58a06279.css","ui/web/dist/scripts.58a06279.css.map","ui/web/dist/scripts.84754d46.js","ui/web/dist/scripts.84754d46.js.map","ui/web/dist/styles.3b87cf68.css","ui/web/dist/styles.3b87cf68.css.map","ui/web/dist/ticket_delivery_generator.481c3c85.png","ui/web/dist/ticket_delivery_growbox.a6b6ba33.png","ui/web/dist/vkey.4c663d93.png","ui/web/dist/wallpaper1.8c5775cd.jpg","ui/web/dist/water.b8f02a77.png","ui/web/dist/weed.a928857c.png","ui/web/dist/weed_seed_1.f63dec6c.png","sounds/ambiant_1.mp3","sounds/atm_sound_in.mp3","sounds/carLock.mp3","sounds/cartoon_accent.mp3","sounds/carUnlock.mp3","sounds/cash_register.mp3","sounds/chop_wood.mp3","sounds/defibrilator.mp3","sounds/fishing_1.mp3","sounds/hand_cuff.mp3","sounds/ls_sound.mp3","sounds/notif_1.mp3","sounds/pickaxe_hit.mp3","sounds/pickup_object.mp3","sounds/power_generator.mp3","sounds/saw_mill_cut.mp3","sounds/shop_bell.mp3","sounds/success_1.mp3","sounds/water_fill.mp3","sounds/white_noise.mp3","paks/YRPF.pak"],"server_scripts":null,"client_scripts":["ui/ui.lua","client_api.lua","sound_api.lua","character_api.lua","job_api.lua","modding_api.lua","housing_api.lua"]}

sounds/notif_1.mp3

17.2 KB
Binary file not shown.

ui/ui.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ AddEvent("OnKeyPress", function(key)
3434
if key == "J" then
3535
CallRemoteEvent("Job:CharacterJobRequest")
3636
end
37+
if key == "F1" then
38+
CallRemoteEvent("GlobalUI:ToogleWindow", "phone")
39+
end
40+
if key == "H" and IsCtrlPressed() then
41+
CallRemoteEvent("House:RequestHouseMenu")
42+
end
3743
end)
3844

3945
AddEvent("SetInputMode", function(mode)

ui/web/dist/-1.f22312ae.png

-16.3 KB
Binary file not shown.

ui/web/dist/1.4eb345d8.jpg

-438 KB
Binary file not shown.

ui/web/dist/10.c411a3d4.png

-1010 KB
Binary file not shown.

ui/web/dist/11.ed5d5a2e.png

-894 KB
Binary file not shown.

ui/web/dist/12.1b804c26.png

-739 KB
Binary file not shown.

ui/web/dist/13.111a6900.png

-660 KB
Binary file not shown.

0 commit comments

Comments
 (0)