nanos world API Reference Unofficial documentation
Event Server

Vehicle.CharacterAttemptLeave

Triggered when a Character attempts to leave the Vehicle

Syntax

Lua
Vehicle.Subscribe("CharacterAttemptLeave", function(self, character)
    -- il tuo codice
end)

Arguments

Name Type Default Description
self Vehicle
character Character

Returns

  • boolean Return false to prevent it