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.

Adam DeLuca

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    I actually have all of the old SAPDFR source code files from back in the old days and had a plan of recreating the whole project. I do not know if it will be called SAPDFR however since that domain is now owned by LCPDFR and I don't want to step on any toes here.
  2. Like
    Adam DeLuca reacted to Faya in [Fixed]Ped won't spawn at callout location.   
    I fixed it, couldn't reply because i went straight to bed after i fixed it, thanks alot for the help everyone.
    (I put Ped Suspect line in OnBeforeCallouts() because i was trying to figure out if that was it, but i forgot to move it again.)
  3. Like
    Adam DeLuca got a reaction from Faya in [Fixed]Ped won't spawn at callout location.   
    It looks like you're trying to create your suspect ped at spawn point but spawn point is defined as suspects position after you've attempted to spawn the ped.
     
    You need to get the coordinates for SpawnPoint before using it.
     
    // Define what your Spawn Point coordinates are. This will grab a random position on the street around your player. Vector3 SpawnPoint = World.GetNextPositionOnStreet(Game.LocalPlayer.Character.Position.Around(190, 500)); // Now you can spawn your ped at the specified coordinates held in SpawnPoint Ped Suspect = new Ped("a_m_o_tramp_01", SpawnPoint, 10f); // You can then reuse SpawnPoint to get the ped coordinates or assign it to a new Vector3 Vector3 SpawnPoint2 = Suspect.Position;  
    Just be sure to define the SpawnPoint BEFORE trying to create your ped or you'll have issues. If you have a specific location you want to spawn your ped at then just define SpawnPoint as the x, y, z and use it the same way.
  4. Like
    Adam DeLuca got a reaction from Faya in [Solved]How to make a random callout location?   
    I sorta answered this in your other support topic. The .Around function needs a minimum and maximum distance for what you're trying to do. This will find a spot on a road within these ranges. If it's spawning too close then raise 190 to a higher number. If it's too far away then lower 500 to a lower number. It's also a good idea to add a little while loop with a count timer so your code never hangs while trying to find a position.
     
    World.GetNextPositionOnStreet(Game.LocalPlayer.Character.Position.Around(190, 500)); // (closest position to player, furthest position to player)  
  5. Like
    Adam DeLuca got a reaction from waynieoaks in [WIP/REL] DeLuca's County Callouts 1.0 & More!   
    [Update]: Open Alpha 0.1.0 is released and download link added, pending moderator approval.

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.