22.11.2015, 07:35
I would like to see an OnObjectCollision(objectid, type, id) callback.
Which detects Object collisions with other players, vehicles, objects.
example
I made an object and moved it to a player, when the object collide with a player this callback gets called, however this type will be something like: OBJECT_COLLISION_TYPE_PLAYER, OBJECT_COLLISION_TYPE_VEHICLE, OBJECT_COLLISION_TYPE_OBJECT.
Which detects Object collisions with other players, vehicles, objects.
example
I made an object and moved it to a player, when the object collide with a player this callback gets called, however this type will be something like: OBJECT_COLLISION_TYPE_PLAYER, OBJECT_COLLISION_TYPE_VEHICLE, OBJECT_COLLISION_TYPE_OBJECT.