taskUseMobilePhoneTimed
TASK_USE_MOBILE_PHONE_TIMED0x5EE02954A14C69DBThe GTA V native TASK_USE_MOBILE_PHONE_TIMED of the TASK namespace, as LS:MP client scripts call it: the global function taskUseMobilePhoneTimed, in JavaScript and in Lua.
taskUseMobilePhoneTimed(ped: Ped, duration: number): voidtaskUseMobilePhoneTimed(ped: Ped, duration: integer)Usage
JavaScript
taskUseMobilePhoneTimed(ped, duration);Lua
taskUseMobilePhoneTimed(ped, duration)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
duration | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Tasks TASK
- In the game
void TASK_USE_MOBILE_PHONE_TIMED(Ped ped, int duration)- Hash
0x5EE02954A14C69DB