Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Adding pauses to the code

Featured Replies

Does anyone know how to add a pause into the code? Something like a wait(milliseconds) command? 

For an example, if I want a Vehicle to explode a specific amount of time after a pursuit has started, I'd need to pause the code for that specific amount of time to do that, and for that, I need something similar to a "wait()" command. "

Unfortunately, I can't find much information on how to do this. If anyone can help, it'll be appreciate.d

GRAY

  • Management Team

One caveat about using .NET timers: They usually rely on system clock time and can hence elapse when the game is paused or running at a lower time scale. It might hence desirable to use the game's current tick to indicate time instead.

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

  • Author
16 hours ago, LMS said:

One caveat about using .NET timers: They usually rely on system clock time and can hence elapse when the game is paused or running at a lower time scale. It might hence desirable to use the game's current tick to indicate time instead.

Alright, thanks!

 

GRAY

On 11/23/2022 at 8:19 AM, LividGray said:

Does anyone know how to add a pause into the code? Something like a wait(milliseconds) command? 

For an example, if I want a Vehicle to explode a specific amount of time after a pursuit has started, I'd need to pause the code for that specific amount of time to do that, and for that, I need something similar to a "wait()" command. "

Unfortunately, I can't find much information on how to do this. If anyone can help, it'll be appreciate.d

You could do something with GameFiber.Wait(miliseconds); You know if you need any help meet me in my discord server or just dm me 🙂

The infamous developer from Dynamic Callouts 😀

Prolly at the gym or developing on either DynamicCallouts, LSPDFR Reborn, ClearThatJam or LivePD Cam Buddy.

 

Discord: XibblE#1159
Discord Server: https://discord.gg/DN6hu49pSW

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...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.