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.

Question about C# 3 tier architecture script for LSPDFR

Featured Replies

I really hope someone can help me with this so I don't have to write my entire script over again.

I am so use to writing code in C# in the 3 (4) tier architecture that I wrote my entire script like that. (if you don't know what I mean, it's Visual Layer, Business Layer, Data Access Layer, Models [mine has a text document as well]) And because I wrote it like this, it's not letting me use it in LSPDFR because it quits as soon as it tries to go into one of the other dlls. 

I need to find a way to access my VL, BLL, DAL, MOD, and txtDoc maybe within a single folder or something but can't figure it out. (Also, my text document is embedded in the DAL.dll)

Any help would be so very much appreciated.

Thank you

Relative paths for references will be from your GTA directory (wherever ragepluginhook.exe is). You'll need to put any DLLs and such in the root GTA directory. That can start to clutter things up, so if you have any way to change the relative path it searches for all those files in, you could make a subfolder and have it look there. AFAIK nobody else is using that particular programming approach with LSPDFR though. 

[REL] Coastal Callouts: An action-packed mod with new vehicles, maps, capabilities, and callouts in and around the waters of Los Santos

[REL] Police Tape: Make your scenes more realistic while stopping peds and traffic

[REL] Better EMS: Realistic and dynamic EMS response

Join the Parks Benefactor Program to support my work and get early beta access!

You don't need to put it all in one class; that could indeed become a mess really fast. But yes, you can create (and are encouraged to) create multiple classes. You can also group them into (sub)folders inside the same project for better organization.

Edited by Sgt. Jackson

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.