Skip to content

Lua Plugin (2.6 Beta)

Compare
Choose a tag to compare
@rasikhq rasikhq released this 08 Oct 16:21
· 8 commits to master since this release

Fixes:

  • Player.name not changing player's name (Untested, didn't have time)

Adds:

  • Pickup:getModel()

  • Vehicle:respawn()

  • Vehicle:repair() ( Alias: Vehicle:fix() )

  • Vehicle:getPartStatus(part) returns status for part

  • Vehicle:setPartStatus(part, status)

  • Vehicle:getTyreStatus(part) returns status for part

  • Vehicle:setTyreStatus(part, status)

  • Vehicle:getOccupant(seat) returns Player on seat or nil if seat is empty

  • Vehicle:getTurretRotation() returns float, float (horizontal, vertical) rotations

  • Vehicle.taxiLight getter/setter (status: bool)