Quantcast

Jump to content

» «
Photo

Mobile phone - holding animation

8 replies to this topic
Michael Wojtanis
  • Michael Wojtanis

    Rinepim

  • Members
  • Joined: 17 Jul 2013
  • Poland

#1

Posted 02 February 2014 - 10:13 AM

Hi.

I just try to find the mobile phone animation but i can't...

 

Holding i mean - when You press Up Arrow You can see phone on screen. I want that animation?

 

Thank You :)


julionib
  • julionib

    Coder

  • Feroci
  • Joined: 13 Sep 2012
  • Brazil

#2

Posted 02 February 2014 - 10:25 AM

maybe you can use part of cellphone_text from cellphone.wad but is not the same used by game :(


Michael Wojtanis
  • Michael Wojtanis

    Rinepim

  • Members
  • Joined: 17 Jul 2013
  • Poland

#3

Posted 02 February 2014 - 10:44 AM Edited by Michael Wojtanis, 02 February 2014 - 10:48 AM.

Found. Native call.

extern void CREATE_MOBILE_PHONE(int);
extern void DESTROY_MOBILE_PHONE(void);

 

Do not know what mean "int" :) [ i know it is integer, but - what values?]


JebediahKerman
  • JebediahKerman

    Player Hater

  • Members
  • Joined: 14 Jan 2014

#4

Posted 02 February 2014 - 11:51 AM

Found. Native call.

extern void CREATE_MOBILE_PHONE(int);
extern void DESTROY_MOBILE_PHONE(void);

 

Do not know what mean "int" :) [ i know it is integer, but - what values?]

Maybe time till it will dispose and hide again?


AgentWD40
  • AgentWD40

    GLITCHED

  • Members
  • Joined: 02 May 2009
  • Philippines

#5

Posted 02 February 2014 - 05:09 PM Edited by hardsty1e, 02 February 2014 - 05:12 PM.

Player.Character.Task.UseMobilePhone(1000);



JebediahKerman
  • JebediahKerman

    Player Hater

  • Members
  • Joined: 14 Jan 2014

#6

Posted 03 February 2014 - 09:46 AM

Player.Character.Task.UseMobilePhone(1000);


But this function doesn't display the phone on your hud


AgentWD40
  • AgentWD40

    GLITCHED

  • Members
  • Joined: 02 May 2009
  • Philippines

#7

Posted 03 February 2014 - 04:05 PM

 

Player.Character.Task.UseMobilePhone(1000);


But this function doesn't display the phone on your hud

 

thought he needed the animation...


julionib
  • julionib

    Coder

  • Feroci
  • Joined: 13 Sep 2012
  • Brazil

#8

Posted 04 February 2014 - 07:04 AM


Found. Native call.

extern void CREATE_MOBILE_PHONE(int);
extern void DESTROY_MOBILE_PHONE(void);

 

Do not know what mean "int" :) [ i know it is integer, but - what values?]

 

ah, i tough you was trying to make the anim play without bring the phone ^^

the value change based on game:
http://gtaforums.com...entry1064462950


LordOfTheBongs
  • LordOfTheBongs

    Deceased

  • Members
  • Joined: 21 Sep 2013
  • None

#9

Posted 04 February 2014 - 03:57 PM

If you have access to the sco scripts in the img file, look at spcellphone, this script makes the phone appear when you press up on the keyboard, I can check for you later if it offers any help





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users