TanguyOrtegat / esx_jb_eden_garage2

41 stars 50 forks source link

Help with new spawn point #11

Closed XxFri3ndlyxX closed 5 years ago

XxFri3ndlyxX commented 5 years ago

I have been trying to add more spawn point but the marker won't show. But the trigger works. Not sure what i am doing wrong here. Garage_AdamsAppleBoulevard = { Pos = {x=472.05, y= -1113.29, z= 28.24}, Marker = { w= 1.5, h= 1.0,r = 204, g = 204, b = 0}, Name = 'Garage', HelpPrompt = "Press C or R3 To Access The Garage.", Functionmenu = OpenMenuGarage, SpawnPoint = { Pos = {x=464.8, y= -1117.03, z= 28.29}, Heading = 178.5, Marker = { w= 1.5, h= 1.0,r=0,g=255,b=0}, HelpPrompt = "Press C or R3 To Take Your Vehicle Out.", Functionmenu = ListVehiclesMenu, }, DeletePoint = { Pos = {x = 479.22,y = -1117.37,z = 28.34}, Marker = { w= 4.8, h= 1.0,r=255,g=0,b=0}, HelpPrompt = "Press C or R3 To Store Your Vehicle.", Functionmenu = StockVehicleMenu, }, },

This is the code i have use. is there something else i need to do ?

XxFri3ndlyxX commented 5 years ago

Ok after i noclip under the ground where my markers is suppose to be. My marker was under the map. I guess the way you calculate the z, i got to add more Z to my coordinate.

TanguyOrtegat commented 5 years ago

indeed ft libs does automaticly do -1 in z