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.

Juventus

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Juventus got a reaction from JUMBOxSIZE in Full gamepad support   
    So, with 0.2 we have partial gamepad support....
    The main problem is the inability to accept a callout with Y.
     
    So i was thinking, i'm sure 0.3 will come with full support....but in case you need a suggestion, why not use dpad up button?
    Now that button is used for cellphone....and you can keep it enabled...but when a callout request is running, you can disable the phone and make dpad up work for it....then after accept/decline revert to the normal dpad up --> cell....
    something like
    while (requestRunning)
       disablePhone()
       if (dpadUPpressed)
          acceptRequest()
    else
       return
    now i don't know the right function names,....but in IV scripthook was possible so i guess it's still the case....
    It would be a great  and needed addition for gamepad users....
     
    What do you think?
  2. Like
    Juventus got a reaction from Olanov in How to get a random ped and attach a blip?   
    Hi, don't know where should i post that....sorry if it's the wrong place.....
    Hope you can help me.....


    I've tried:



    [...] ped1 = World.GetRandomPed(Player.Character.Position, 20.0f); blip1 = ped1.AttachBlip(); [...]


    With this code i get a "blipped" random ped for 2 seconds....then the blip disappears. Don't know why. Moreover when i quit the game there's a kind of freeze....i've to quit with ctrl+alt+canc.....I'm sure the entire code is not wrong because if i change just the random ped part with a World.CreatePed etc. the script works fine and the game quits normally.

    I'd like to get a random ped in a random position in one of the 4 islands.....so 20 as radius is low i know....but if i increase it then i don't see the blip even for a second. I think it's because the game try to pick a ped in some parts of the city that haven't been loaded yet....but that's just my guess.

    The language is C.

    Thanks!
  3. Like
    Juventus got a reaction from Olanov in How to get a random ped and attach a blip?   
    This and gta forums are two different places. (the only 2 forums i follow about gta) But if i couldn't post it here, delete this thread... no problem. :wink:
  4. Downvote
    Juventus got a reaction from Cyan in How to get a random ped and attach a blip?   
    This and gta forums are two different places. (the only 2 forums i follow about gta) But if i couldn't post it here, delete this thread... no problem. :wink:
  5. Downvote
    Juventus got a reaction from Cyan in How to get a random ped and attach a blip?   
    Hi, don't know where should i post that....sorry if it's the wrong place.....
    Hope you can help me.....


    I've tried:



    [...] ped1 = World.GetRandomPed(Player.Character.Position, 20.0f); blip1 = ped1.AttachBlip(); [...]


    With this code i get a "blipped" random ped for 2 seconds....then the blip disappears. Don't know why. Moreover when i quit the game there's a kind of freeze....i've to quit with ctrl+alt+canc.....I'm sure the entire code is not wrong because if i change just the random ped part with a World.CreatePed etc. the script works fine and the game quits normally.

    I'd like to get a random ped in a random position in one of the 4 islands.....so 20 as radius is low i know....but if i increase it then i don't see the blip even for a second. I think it's because the game try to pick a ped in some parts of the city that haven't been loaded yet....but that's just my guess.

    The language is C.

    Thanks!

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.