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.

A few Questions

Featured Replies

Ok got a few questions this time will put them all here to save thread spamming.

 

1) How do I get the player's LCPDFR username to appear on the text wall.

Functions.AddTextToTextwall("Control I'm on scene now stand by.", ________);

I'm using that, the reporter segment has to be a string, I've tried going through the API functions and LPlayer functions and the only thing I found was ".Name"

 

But using .Name returns my Steam ID not my LCPDFR forum username. What do I need for this?

 

2) How do I get a sequence of animations to play, 1 after the other. For example the CPR animation is in 3 parts, in, loop and out. Needs all three otherwise it looks derpy.

 

3) What does "ApplyForce" do and how does it differ from "applyForceRelative"

 

 

I think that is it for now :P

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

  • Management Team

Hey,

 

you can't get the forum username via the API for now, but I understand that it might be useful and will add it.

 

As for you other questions, they are not APi specific, but I'll try to help you:

 

2.) Create a GTA.TaskSequence and concat the animations using that.

 

3.) ApplyForce takes the force in world coordinates, whereas ApplyForceRelative takes a relative force based on the current direction/heading of the entity. E.g. for relative, new Vector3(0, 10, 0) refers to infront, while -10 is behind the entity.

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

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.