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.

How can I create a script?

Featured Replies

I want to get more involved in the GTA V and LSPDFR community by learning how to create scripts, but I don't know how to. I don't know where to start, where to look for lessons or anything. I'm looking to make a script, like a riot script, where peds will all join together in a line and perhaps have a riot audio in the background to make it sound realistic. Can anyone point me in the direction to learning how to script? Thank you!

7 hours ago, coastiestevie said:

I want to get more involved in the GTA V and LSPDFR community by learning how to create scripts, but I don't know how to. I don't know where to start, where to look for lessons or anything. I'm looking to make a script, like a riot script, where peds will all join together in a line and perhaps have a riot audio in the background to make it sound realistic. Can anyone point me in the direction to learning how to script? Thank you!

You have to learn how to write program code for a computer first which doesn't exactly take you 5 minutes if you've never done it before. I took classes for it when I was younger for about a year and I stopped at an amateur level when I got bored and moved onto graphic design. So I'd learn to write code in a couple of languages. I'd start off with Visual Basic and Java. Java is similar in syntax to C# which is a lot more powerful. You can always start at the level of more complicated languages like C# and C++, but I wouldn't advise it. You'll need a program to write and debug code in such as Visual Studio, which is what I used. And you'll need a lot of free time to figure out why the stuff you write doesn't work, although Visual Studio helps you with that since it highlights incorrect syntax for you, sort of the way Microsoft Word underlines spelling or grammar issues. Hopefully you've brushed up on your Algebra and Geometry recently to help you understand the game's physics and better understand the use of time intervals for various actions.

Anyway, have fun. You may want to get opinions from very experienced programmers like Sam and LMS. Oh and when you write code, I'd highly suggest changing the background of the screen to a dark color and make the text a lighter color instead. Staring at a white screen is similar to staring a light bulb, as it damages your eyes, ruining your vision. There's a reason a lot of computer majors wear glasses.

Edited by unr3al

Tips/Donate: u.gamecaster.com/unr3al
Twitch Channel: Twitch.tv/unr3al_twitch
YouTube Channel: YouTube.com/unr3algaming
Twitter: @unr3alofficial

  • Author
5 hours ago, unr3al said:

You have to learn how to write program code for a computer first which doesn't exactly take you 5 minutes if you've never done it before. I took classes for it when I was younger for about a year and I stopped at an amateur level when I got bored and moved onto graphic design. So I'd learn to write code in a couple of languages. I'd start off with Visual Basic and Java. Java is similar in syntax to C# which is a lot more powerful. You can always start at the level of more complicated languages like C# and C++, but I wouldn't advise it. You'll need a program to write and debug code in such as Visual Studio, which is what I used. And you'll need a lot of free time to figure out why the stuff you write doesn't work, although Visual Studio helps you with that since it highlights incorrect syntax for you, sort of the way Microsoft Word underlines spelling or grammar issues. Hopefully you've brushed up on your Algebra and Geometry recently to help you understand the game's physics and better understand the use of time intervals for various actions.

Anyway, have fun. You may want to get opinions from very experienced programmers like Sam and LMS. Oh and when you write code, I'd highly suggest changing the background of the screen to a dark color and make the text a lighter color instead. Staring at a white screen is similar to staring a light bulb, as it damages your eyes, ruining your vision. There's a reason a lot of computer majors wear glasses.

That was very helpful. Thank you for the guidance.

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.