
Hi,
For a game I need to get pinged objects but it only works for the host, even the highlight of the object when you ping it don’t work.
for the test i made a new game with the only code the onPlayerPing exemple in the scripting api tuto:
function onPlayerPing(player, position, object)
if object then
print(player.color .. “ pinged “ .. object.getName() .. “ at “ .. position:string())
else
print(player.color .. “ pinged “ .. position:string())
end
end
But it only printed the object if the host pings
thanks