Skip to content

Wrong output of getBlipSize() function #1399

@Cyber52

Description

@Cyber52

Describe the bug
GetBlipSize() function returns wrong output when you call it from clientside and the blip was created serverside

To reproduce
Steps to reproduce the behaviour:

--server
local blip = createBlip(0, 0, 0, 41, 5, 0, 255)
setElementData(resourceRoot, "blip", blip)
print(getBlipSize(blip), "serverside") -- returns 5

--client
local blip = getElementData(resourceRoot, "blip")
print(getBlipSize(blip), "clientside") -- returns 2 (default value)

Expected behaviour
It should return proper value

Version

  • server/client version 1.5.7/1.5(?)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions