Events

All the Client Events related to the players and notifications.

Notifications
TriggerEvent('tpz_core:sendLeftNotification', firsttext, secondtext, dict, icon, duration, color)
TriggerEvent('tpz_core:sendTipNotification', text, duration)
TriggerEvent('tpz_core:sendTopNotification', text, location, duration)
TriggerEvent('tpz_core:sendRightTipNotification', text, duration)
TriggerEvent('tpz_core:sendBottomTipNotification', text, duration)
TriggerEvent('tpz_core:sendSimpleTopNotification', title, subtitle, duration)
TriggerEvent('tpz_core:sendAdvancedRightNotification', text, dict, icon, text_color, duration, quality)
TriggerEvent('tpz_core:sendBasicTopNotification', text, duration)
TriggerEvent('tpz_core:sendSimpleCenterNotification', text, duration)
TriggerEvent('tpz_core:sendBottomRightNotification', text, duration)
TriggerEvent('tpz_core:sendFailMissionNotification', title, subtitle, duration)
TriggerEvent('tpz_core:sendDeadPlayerNotification', title, audioRef, audioName, duration)
TriggerEvent('tpz_core:sendMissionUpdateNotification', utitle, umsg, duration)
TriggerEvent('tpz_core:sendWarningNotification', title, msg, audioRef, audioName, duration)
TriggerEvent('tpz_core:sendLeftRankNotification', source, title, subtitle, dict, icon, duration, color)
Announcements
-- @param title : The title to be displayed on the server announcement.
-- @param description : The description to be displayed on the server announcement.
-- @param duration : The time for the notification to be displayed (in milliseconds)
-- @param title_rgba : The rgba or color hash in a string (text) to change the title font color.
-- @param title_description_rgba : The rgba or color hash in a string (text) to change the description font color.

TriggerEvent('tpz_core:sendAnnouncement', title, description, duration, title_rgba, title_description_rgba)

Last updated