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.

hello i have a problem with compressing

Featured Replies

I do not understand what you mean with 'compressing'.
You ought to Build a dll -Is that what you do?
I also cant find your Main in the link.
Please simply paste your Main.cs here, and copy all the error-messages from your Output, and paste it here too

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

  • Author

use the visual studio code

 

Spoiler

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

using Rage;

using LSPD_First_Response.Mod.API;

using System.Reflection;

 

namespace llamadas_españa

{

    public class Main : Plugin

    {

 

        public override void Initialize()

        {

            Functions.OnOnDutyStateChanged += onOnDutyStateChangedHandler;

            Game.LogTrivial("Plugin llamadasespañolas" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString()"By Author has benn initialised.");

            Game.LogTrivial("go on duty to fully load llamadas españolas");

 

            AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(LSPDFRResolveEventHandler);

        }

        public override void Finally()

        {

            Game.LogTrivial("llamadasespañolas has been cleaned up.");

        }


 

        private static void onOnDutyStateChangedHandler(bool OnDuty)

        {

            if (OnDuty)

            {

                RegisterCallouts();

                Game.DisplayNotification("llamadasespañolas by author Version 1.0.0  Alpha- Has been successfully loaded!");

            }

        }

        private static void RegisterCallouts()

        {

          Functions.RegisterCallouts(typeof(Callouts.HignSpeedChase));

        }


 

        public static Assembly LSPDRResolveEventHalder(object sender, ResolveEventArgs args)

        {

            foreach (Assembly assembly in Functions.GetAllUserPlugins())

            {

                if (args.Name.tolwer().contains(assembly.GetName().Name.ToLower()))

                {

                    return assembly;

                }

            }

            return null;

        }

    }

    public static bool IslSPDFRPluginrunning(string plugin, Version minversion = null)

    {

        foreach (Assembly assembly in functions.GetAllUserPlugins())

    }

     {

       AssemblyName an = Assembly.GetName();

        if (an.Name.Tolower()== Plugin.Tolower())

        {

        if (minversion == null  an.Version.compareTo(minversion)=0)

        {

        return true;

        }

      }

         return false;

      }

     

    }

}

 

there is the main

if you need anything else let me know

19 hours ago, franguzman5 said:

there is the main

One thing to avoid in program are Country-code-page ASCII-chars, (unless they are quotes)
Try and change the namespace

namespace llamadas_españa
to only UNIcode charachters. Make sure you get that change registered throughout the dependencies. Perhaps the easiest way, is to start a new project.
 

19 hours ago, franguzman5 said:

if you need anything else let me know

If its not fixed we do need the errors-list, try right-click on the component and see if the context-menu has something like Copy-to-clipboard'
If not, make screenshots of the errors and make sure the are full-expanded

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

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.