Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,495
» Latest member: va6220902
» Forum threads: 2,239
» Forum posts: 12,042

Full Statistics

Online Users
There are currently 475 online users.
» 0 Member(s) | 472 Guest(s)
Bing, Google, Yandex

Latest Threads
Outstanding Customer Serv...
Forum: Chat
Last Post: va6220902
1 hour ago
» Replies: 0
» Views: 2
New place
Forum: Life
Last Post: sjaardamilly
1 hour ago
» Replies: 0
» Views: 2
How Zhewitra Oral Jelly W...
Forum: General Discussions
Last Post: erctilenovus
Yesterday, 08:39 AM
» Replies: 0
» Views: 16
Cenforce 100 Mg Medicine ...
Forum: Chat
Last Post: ezraallen45ea
2024-11-19, 10:00 AM
» Replies: 0
» Views: 26
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 35
What is the use of Wakler...
Forum: Other
Last Post: allencooper
2024-11-18, 10:37 AM
» Replies: 0
» Views: 23
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 434
How to sell a vehicle sam...
Forum: Chat
Last Post: irislime1209
2024-11-16, 08:44 AM
» Replies: 3
» Views: 1,205
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 33
Rediscovering Confidence:...
Forum: Other
Last Post: liberyjonney
2024-11-15, 04:48 AM
» Replies: 0
» Views: 33

 
Rainbow How to Compile Your Gamemode in Visual Studio Code
Posted by: thelante - 2024-10-05, 06:20 AM - Forum: Tutorials - Replies (3)

In this guide, I’ll show you how to compile your gamemode using Visual Studio Code. We’ll start by installing the necessary compiler and setting up everything step-by-step.

To begin, we need to install the Pawn Development Tool extension for VSCode. You can either install it through VSCode directly or via this marketplace link: https://marketplace.visualstudio.com/ite...evelopment

If you want to contribute or dive deeper into the project, here’s the source code link: https://github.com/openmultiplayer/vscode-pawn


1. Open Visual Studio Code

[Image: I79gqXu.png]

2. Go to the Extensions Section

  Click on the extensions icon located on the left-hand toolbar.

  [Image: MHGnLFc.png]

3. Search for "Pawn Development Tool

  Type Pawn Development Tool  in the search bar.

  [Image: BZwbxnH.png]

4. Select the First Option

  The first option that appears will be the correct extension.

 [Image: Gn20bcd.png]
 [Image: ddEGnhD.png]

5. Install the Extension

  Click on the install button.

  [Image: iRPcBpq.png]


Now that we’ve installed the extension, let’s move on to setting up the compiler.

1. Navigate to Your Gamemode Directory

  Open your gamemode folder in VSCode.

  [Image: udEWVTm.png]

2. Initialize the Pawn Task/Compiler

  To set up the compiler, press

Quote:Ctrl + Shift + P
 or
Quote:F1
 or go to View > Command Palette. Then, search for Pawn Development: Initialize Pawn Build Task.

  [Image: 5TJxchV.png]

3. Select the Build Task Option

  Click on the result.

  [Image: bWMiWNx.png]


After initializing the task, you might encounter an error when trying to compile, like this:

[Image: xor8F6J.png]

This happens because the compiler doesn’t know the location of `pawncc.exe`. So, we need to set it manually by editing the `tasks.json` file.

1. Open `tasks.json`

  Find the `tasks.json` file in your `.vscode` folder.

  [Image: CdpZCet.png]

2. Specify the Compiler Path

  In the `command` field of `tasks.json`, you need to set the path to your compiler. If you’re using SA-MP Server, you might be using **pawno**, and for open.mp servers, you’ll likely be using qawno. Here’s how to configure each:


Pawno users:
Set the path to `${workspaceRoot}/pawno/pawncc`
Qawno users: Set the path to `${workspaceRoot}/qawno/pawncc`


  Example setup:

  [Image: W7LTtuB.png]
  [Image: TtP9En9.png]


Now, you can compile your gamemode. If everything is set correctly, the compiler should successfully compile your script.

[Image: RIgcgoU.png]

Update:

(Thanks to edgy and Southclaws they helped me figure this out and learn how to set it up!)

You might notice that errors and warnings aren’t being highlighted yet. This is because we haven't set them up properly. Let's fix that by going back to the `tasks.json` file.

[Image: CdpZCet.png]

Adjust the `problemMatcher` Configuration

First, locate the `"problemMatcher"` section in the `tasks.json` file. We need to modify the `"fileLocation"` property.

 Change `"relative"` to `"autoDetect"` so it can automatically detect your gamemode file location.

[Image: KZ6LQlH.png]
[Image: wAL1PMd.png]

Next, update `"${workspaceRoot}"` to `"${workspaceRoot}/gamemodes"` to ensure it's pointing to your gamemode directory.

[Image: kaF7Bud.png]

After making these changes, errors and warnings should now be properly highlighted in your gamemode.

This guide was based on my own experience compiling gamemodes in VSCode. If you notice any mistakes or have suggestions for improvement, feel free to let me know!


Thanks for reading, and good luck with your gamemode development!


  Las Venturas Gang Wars - Team Deathmatch Server
Posted by: lvgwgta - 2024-10-04, 03:56 PM - Forum: Advertisements - No Replies

Powered by the latest version of Open.MP (v1.2.0.2670), Las Venturas Gang Wars ("LVGW"), founded in May 2018, is a simplistic Team Deathmatch server - featuring multiple teams with custom mapped spawn zones.

You can fight together with your team mates, or be a force of one - the choice is yours.

IP Address: 51.79.71.138:7777

The attached screenshots in this post speak volumes about the sort of carnage that our players enjoy!

[Image: mRCOQFq.png]

[Image: lBifjkZ.png]

[Image: 6vXcQM2.png]

[Image: KCGaiYg.png]

[Image: swWf5Zj.png]


Star Open Roleplay
Posted by: thebust3rs - 2024-10-04, 07:21 AM - Forum: Advertisements - No Replies

🚀 Welcome to Open Roleplay! 🚀

We’re excited to offer you information on a new server: Open Roleplay! 🎉 Dive back into the basics of what made this mod legendary with our medium roleplay server, offering endless fun and opportunities to explore! 🌟

What’s in store? 🏎️🏡🔫

🚗 Vehicle Fun:

    Rent, buy, sell, and recycle vehicles!

🏠 Property Adventures:

    Buy, sell, burn, and rob properties. Plus, rent hotel rooms for a temporary stay!

🔫 Faction Frenzy:

    No more forum applications! Apply in-game and get instant entry into factions like LSPD as a trainee officer. Cool down periods apply if you leave, so choose wisely! 🚓🔥

🏦 Action-Packed Jobs:

    Rob banks, hold up gas stations, and take on faction-specific jobs like:
        LSPD: Bank robberies, property inspections
        LSFD: House fires
        Mechanics: Broken-down vehicles
        Tow Company: Roadside object removal, Vehicle Impounding

💥 Server Launch Date: 1st November 2024! Get in early and be part of our beta testing phase. Join now and help shape the future of Open Roleplay! 🌐✨

🔗 Join Discord Now: https://discord.gg/dJqfdHFK4F 🔗

https://youtu.be/ube_UtibijU
https://youtu.be/5RwsahoDYNA
https://youtu.be/Inoy5MzmKBw
https://youtu.be/3lBT8rUoqnM
https://youtu.be/CNzjBR411hs
https://youtu.be/bNlodPjyISI
https://youtu.be/hRf3aWHVPgE
https://youtu.be/Xa6UiPMmvzw
https://youtu.be/YWaNtumrlNc
https://youtu.be/KrXxwfie2cE


Lightbulb 0.3.7 version change to open.mp
Posted by: lauti_lxb - 2024-10-02, 05:03 PM - Forum: Programming - Replies (2)

Hi everyone, first of all, I'm an old scripter of version 0.3.7, my server has been offline for 4 years but I decided to come back. I'm trying to move everything to the new version of SAMP, but I have some errors. What's happening is something very strange, as far as I understand all the scripts from previous versions are compatible with open.mp. However, my server works perfectly in version 0.3.7 and in version 0.3DL the same. My gamemode script works perfectly and the plugins are the ones I've used all my life. The strangest thing about all this is that the server very occasionally starts without freezing and everything works perfectly, but most of the time it doesn't start in the new version. As I mentioned before, with SAMP versions this does not happen, it only happens with open.mp... In the console it gives me some warnings like the following: [13:22:17] [Warning] Deprecated function GetServerVarAsString used. This function was replaced by GetConsoleVarAsString.
[13:22:17] [Warning] Deprecated functions will be removed in the next open.mp release.
[13:22:17] [Warning] Parameter count does not match specifier in `Script_Call`. callback: Itter_OnGameModeInit - fmat: - count: 3) [13:22:17] [Warning] SetTimer(Ex): There was a problem in creating the timer, "public BeenReped" doesn't exist in your script.
[13:22:17] [Warning] SetTimer(Ex): There was a problem in creating the timer, "public RapedPlayerRecent" doesn't exist in your script.
[13:22:17] [Warning] SetTimer(Ex): There was a problem in creating the timer, "public RobbedPlayerRecent" doesn't exist in your script.
[13:22:17] [Warning] SetTimer(Ex): There was a problem in creating the timer, "public InfectedPlayerRecent" doesn't exist in your script.
[13:22:17] [Warning] SetTimer(Ex): There was a problem in creating the timer, "public RapedPlayerRecent" doesn't exist in your script.
[13:22:17] [Warning] SetTimer(Ex): There was a problem in creating the timer, "public inactiveplayercheck" doesn't exist in your script.
[13:22:17] [Info]

But the server doesn't close or anything, and everything in the log seems to work correctly, that is, it loads absolutely everything that it should load normally. Do you have any idea how I can fix this?


  Need any technical support?
Posted by: JasonRiggs - 2024-10-01, 02:20 PM - Forum: Programming - No Replies

Hi there!

So I thought why not we make this thread to people who require or offer any technical support to meet up here so we can make it easier for developers and users to find each others which will enhance the growth of the community and the quality of the service.

I'll begin with myself.. If you need any help regarding Open.MP server development or any other matter contact me over DMs or on discord riggsss

Hope this post reaches alot of people!


  Baltimore Roleplay (English - 0.3DL)
Posted by: uzi - 2024-09-30, 07:01 PM - Forum: Advertisements - No Replies


Baltimore Roleplay
(BMRP) is an upcoming English, strict text-based roleplay server hosted on Open Multiplayer (SA-MP), with a long-term goal of delivering unique and immersive roleplay experiences.

The server is set in Baltimore, Maryland, in the year 2004. Players are expected to roleplay in line with the time period, taking into account the limitations of that year. While the setting may evoke similarities, it is NOT based on the popular TV series The Wire, allowing players the freedom to explore fresh ideas and unique concepts.

Baltimore Roleplay
 expands San Fierro with many custom maps created by the Modding Team. The current script, based on the Westside Roleplay gamemode, brings new roleplay possibilities. It aims to be flexible, offering something for everyone and ensuring a fun experience for all players.


Lightbulb Convert DRP Script to Open.mp
Posted by: Markus001 - 2024-09-27, 03:16 AM - Forum: Pawn Scripting - No Replies

Can someone help me convert the DRP script to Open.mp?

https://www.file-upload.net/download-921...P.RAR.html


  will open.mp supports high freq monitors in fullscreen
Posted by: Thinint89 - 2024-09-26, 06:40 AM - Forum: Questions and Suggestions - No Replies

will open.mp supports high freq monitors in fullscreen without any modifications?


  Problem with open inc
Posted by: sampjoc - 2024-09-24, 09:04 PM - Forum: Programming - No Replies

hello, I have this problem from open mp
hello, I have this problem from open mp 


[22h:42m:58s] Run time error 19: "File or function is not found"
[22h:42m:58s]  RemovePlayerWeapon
[22h:42m:58s]  IsVehicleOccupied
[22h:42m:58s]  EndObjectEditing
[22h:42m:58s]  GetVehicleDriver
[22h:42m:58s]  UseGangZoneCheck
[22h:42m:58s]  GetVehicleColor
[22h:42m:58s]  IsPlayerUsingOfficialClient
[22h:42m:58s]  CountRunningTimers
[22h:42m:58s] Run time error 19: "File or function is not found"
[22h:42m:58s]  RemovePlayerWeapon
[22h:42m:58s]  IsVehicleOccupied
[22h:42m:58s]  EndObjectEditing
[22h:42m:58s]  GetVehicleDriver
[22h:42m:58s]  UseGangZoneCheck
[22h:42m:58s]  GetVehicleColor
[22h:42m:58s]  IsPlayerUsingOfficialClient
[22h:42m:58s]  CountRunningTimers


  OpenMP Based Gamemode?
Posted by: Kymmmmmmmmm - 2024-09-22, 11:49 AM - Forum: Questions and Suggestions - Replies (1)

Any Suggestions? I'm Lazy to create from scratch. thank you in advance tho!