🚘
EXPLORE
  • 👋Welcome
  • 🏦Bank Robbery
    • ➡️Install
    • Configuration
    • Client Functions
  • 🎯Target Menu
    • Configuration
    • Client Functions
  • 🚂Train Heist
    • ➡️Install
    • Configuration
    • Client Functions
  • 🚩Turf Wars
    • Configuration
  • 🏎️Car Heist
    • Configuration
  • 🎴Card Menu
    • Client Exports
  • 💻Hack
    • ➡️Install
    • Configuration
Powered by GitBook
On this page
  • ShowNotification
  • Parameters
  • DoesPedHaveAnyBag
  • Parameters
  1. Bank Robbery

Client Functions

Client editables can be found in: client/editables.lua

ShowNotification

This function displays the notifications.

function ShowNotification(event)
    AddTextEntry('notification_message', event.message)
    BeginTextCommandThefeedPost('notification_message')
    EndTextCommandThefeedPostMessagetext("CHAR_BLANK_ENTRY", "CHAR_BLANK_ENTRY", false, 0, event.title, "")
    EndTextCommandThefeedPostTicker(false, true)
end

Parameters

  • event:

    • title: string, notification title.

    • message: string, notification content.

    • type: string, notification type. (“default”, “error”)

DoesPedHaveAnyBag

This function returns whether the player ped has a bag or not.

function DoesPedHaveAnyBag(ped)
    return GetPedDrawableVariation(ped, 5) > 0
end

Parameters

  • ped: integer, game entity handle. In this case, equivalent to PlayerPedId().

Last updated 9 months ago

🏦