Events
STPhone:Client:OnPlayerLoaded
This event should be triggered when the player is loaded.
The default definition is as follows.
STPhone:Client:OnPlayerUnload
This event should be triggered when the player unloads.
The default definition is as follows.
STPhone:GameNotify
This Evenet is triggered when Notification is sent. Place your notification event in it.
The default definition is as follows.
STPhone:Client:CallEmergencyServices
This is triggered when an emergency call is sent via the Evenet 911 system. Detailed parameters are as follows.
ResponseType (police | ambulance)
Street (hash)
StreetName (string)
Location (vector3)
There is no default definition, you need to set it yourself.
STPhone:Client:ExternalPay
This event is triggered to inform lua when a payment is made with QR. Detailed parameters are as follows.
PayFor (string) - Target Account
Price (int) - Price
Content (string) - Pay Description
Success (boolean) - Payment Success
There is no default definition, you need to set it yourself.
Last updated