GTA IV - Cellphone Scripting

Started by Vortrex, December 18, 2018, 07:15:57 PM

Previous topic - Next topic

Vortrex

Some functions:

phone.addContact()

phone.removeContact()

phone.getContactByName()

phone.getContactByNumber()



phone.lastReceivedCall - (number)

ped.phoneNumber - assign a number to a player/ped to call them



and some events, of course:

OnPhoneStateChange - pull out phone, put away phone, incoming call, switch screen, etc.

MediumStare

This be sick but also make it compactible with:
Sound audio.createSoundFromURL(string url, bool loop)So we can make custom missions with our own audio.
Also... i really wanna use this this can be beneficial in alot of ways. Call for armour. Call for Mission. call for taxi...
(Bump)