Trying to get the entity number from object number.
But always getting error message: "ObjectToEntity" is nil
I've tried so far a new map with just one barrel
local P = require "scriptbank\\physlib"
Text(33,33,3, "o2e ; "..ObjectToEntity( g_Entity[e]['obj'] ) )
Next tried;
Text(33,33,3, "o2e ; "..ObjectToEntity( 70002 ) )
Still nil -- any help?