Jump to content

How would I create a timer that displays when a callout is accepted?


OJS

Recommended Posts

Hello everyone,

I am in the middle of redoing my callouts plugin. And some of the feedback I received suggested the addition of a timer similar to the one used in the default store robbery LSPDFR callouts. My question is, how exactly do you add that, is it something in Rage Plugin Hook's API or LSPDFR's API? Also, is there anything I should know about using this timer?

Thanks in advance,

 

- Johnny

Link to comment
Share on other sites

  • Management Team

Are you talking about just creating a timer programmatically? Then you can use Game.GameTime which returns a uint and only advances when the game is running. It is milliseconds based.

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

Link to comment
Share on other sites

5 hours ago, LMS said:

Are you talking about just creating a timer programmatically? Then you can use Game.GameTime which returns a uint and only advances when the game is running. It is milliseconds based.

I mean like this:

 

20200919140320_1.jpg

Link to comment
Share on other sites

  • Management Team

RAGE Native UI should have that option by default:

 

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...