📱PDA

General game-PDA that can be opened with up arrow.

Examples:

Add Contact:

function PDA_Callback()
{
    return false; // Return true if you wanna answer call...
}

PDA.AddContact("ContactName", "ContactPortrait", PDA_Callback);

Static Functions:

.EndPhoneCall

PDA.EndPhoneCall()

Ends current phone call.

.AddContact

PDA.AddContact(name: string, portrait: string, callback: function)

NameTypeDescription

name

string

Name of the contact

portrait

string

Portrait of the contact

callback

function

Function that get called when player will call this contact

Adds new contact to the PDA's contacts list.

.RemoveContact

PDA.RemoveContact(name: string)

NameTypeDescription

name

string

Name of the contact

Removes contact from the PDA's contacts list that has been added by script.

Last updated