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.

Follow

Featured Replies

GameFiber.StartNew(delegate
            {
                while (true)
                {
                    GameFiber.Yield();
                    ped.Tasks.GoStraightToPosition(Game.LocalPlayer.Character.Position, 3f, 0f, 0f, -1);
				}
			});

or FollowNavigationMesh()...depends on the situation

Edited by khorio

Do some experimenting with the functions already suggested above. It's all there.

You can't post here for every small problem you have and let others figure your issues out for you continuously.

If they're all grouping up, try to solve it by changing values / functions.

Edited by Albo1125

My YouTube: Click here. 

My Discord Server - https://discord.gg/0taiZvBSiw5qGAXU

Useful post? Let me and others know by clicking the Like button.
Check out my many script modifications! 
Having issues? LSPDFR Troubleshooter by Albo1125.

16 minutes ago, Albo1125 said:

You can't post here for every small problem you have and let others figure your issues out for you continuously.

While I partially agree, I don't feel it's our place to put down someone looking for help.. It's why the forum exists (yes it was an API discussion forum but it's grown since the sub forum was created)

This is one of the only forums where people can get great help..the rage forum is dead. It's extremely overwhelming for new developers who never worked with c# before (or any type of coding)

With all of that said.. OP.. Here are some suggestions. They're quite short

1. When you're trying to figure out how to do something in the game look through the Rage api documentation.. Specifically the Entity, Object, Ped, Vector3 and Vehicle classes.. 9/10 what you're looking for is there

2. Experiment a little.. You won't destroy anything with wrong ideas.

3. Try to collect a few problems that you can't figure out and make a post

 

@ainesophaur Oh absolutely, I agree. I'm not trying to put anyone down.

However, I'm guessing you missed the edited post above my reply (which was complaining they were coming too close).

Seems like I encouraged him to try changing the numbers passed to the function instead of having us do it for him ^.^

Edited by Albo1125

My YouTube: Click here. 

My Discord Server - https://discord.gg/0taiZvBSiw5qGAXU

Useful post? Let me and others know by clicking the Like button.
Check out my many script modifications! 
Having issues? LSPDFR Troubleshooter by Albo1125.

3 minutes ago, Albo1125 said:

@ainesophaur Oh absolutely, I agree. I'm not trying to put anyone down.

However, I'm guessing you missed the edited post above my reply (which was complaining they were coming too close).

Seems like I encouraged him to try changing the numbers passed to the function instead of having us do it for him ^.^

No I definitely didn't so I apologize if it seemed I was jumping on you.. I wasn't. I just didn't want any of us to scare people away from seeking help.. The past few months have been amazing with plugins and you're one of the pioneers who is always helping out.. So again, sorry if it felt like I was targeting you over one post

One of the things thats making it harder for the newer guys is the forum's search being broken. There's so much gold on the oldest 3-4 pages of this forum, but it's buried deep. And sadly Cyan is aware of the search issue and cant do anything about it due to limitations in the forum software.

More on-topic though, and I'd suggest using ped.Tasks.GoToOffsetFromEntity(), it lets you define both the angle and distance from the target that your ped should go to. Its also worth noting that most of the GoTo/FollowTo stuff seems to force the ped on-foot, they'll abandon any vehicle they're in (I still haven't found a good way to get them to follow in a vehicle without attacking the vehicle).

My YouTube Channel: Darkmyre Gaming (Australian LSPDFR patrols, plugins in development, and other games)

My Discord Server | AusGamer Network

 

Please do not PM me for technical support or bug reports, use the appropriate forum or plugin's comments instead.

I'm working on something that can fix that problem, Albo. 

Stealth22
LSPDFR Tester | Plugin Developer
My Plugins: Code 3 Callouts | Traffic Control | Keep Calm | ALPR+

Please do not PM me for any kind of technical support.
I unfortunately do not have enough free time to answer every PM that I get. For issues with my plugins, please post in the comments section of the file, or it's forum thread. You'll get a much quicker response from me there than if you send me a PM; I do my best to respond to every question in the comments sections. For API/programming questions, please post them in the API Development forum, so all developers can benefit from the answer as well. Thanks!

6 hours ago, Darkmyre said:

One of the things thats making it harder for the newer guys is the forum's search being broken. There's so much gold on the oldest 3-4 pages of this forum, but it's buried deep. And sadly Cyan is aware of the search issue and cant do anything about it due to limitations in the forum software.

More on-topic though, and I'd suggest using ped.Tasks.GoToOffsetFromEntity(), it lets you define both the angle and distance from the target that your ped should go to. Its also worth noting that most of the GoTo/FollowTo stuff seems to force the ped on-foot, they'll abandon any vehicle they're in (I still haven't found a good way to get them to follow in a vehicle without attacking the vehicle).

Actually.. TASK_VEHICLE_GOTO_NAVMESH seems to work well

I proposed it many times and repeat once more: there's nothing wrong in asking multiple questions but why not to do it in a SINGLE THREAD? When I was starting with IV I created a topic where all my question was, the API subforum wasn't spammed with 1-2 answer threads with meaningless titles.

2 hours ago, LtFlash said:

I proposed it many times and repeat once more: there's nothing wrong in asking multiple questions but why not to do it in a SINGLE THREAD? When I was starting with IV I created a topic where all my question was, the API subforum wasn't spammed with 1-2 answer threads with meaningless titles.

If the titles of the posts were accurate then I don't see a problem with multiple posts while search doesn't work.. That way people can just glace over the titles instead of hoping a random thread with 20 questions has the answer they're looking for.

I wonder if the forums used have a Q&A plugin which would give a feel like stack overflow. Anyone know what type of forum software is in use?

45 minutes ago, ainesophaur said:

If the titles of the posts were accurate then I don't see a problem with multiple posts while search doesn't work.. That way people can just glace over the titles instead of hoping a random thread with 20 questions has the answer they're looking for.

I wonder if the forums used have a Q&A plugin which would give a feel like stack overflow. Anyone know what type of forum software is in use?

stackexchange, http://stackexchange.com/ no way to really run a dedicated one though

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.