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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 8,076
» Latest member: one88aorg
» Forum threads: 2,435
» Forum posts: 12,452

Full Statistics

Online Users
There are currently 177 online users.
» 0 Member(s) | 174 Guest(s)
Bing, Applebot, Google

Latest Threads
njjyytk
Forum: Pawn Scripting
Last Post: geuleo
11 hours ago
» Replies: 0
» Views: 11
awetge
Forum: Support
Last Post: geuleo
11 hours ago
» Replies: 0
» Views: 11
egwget
Forum: Questions and Suggestions
Last Post: geuleo
11 hours ago
» Replies: 0
» Views: 11
Classic Party Server [ENG...
Forum: Advertisements
Last Post: GPCServ
Yesterday, 10:12 PM
» Replies: 0
» Views: 26
Valrise RPG (PC/Android)
Forum: Advertisements
Last Post: Habshi
2026-04-08, 10:46 AM
» Replies: 0
» Views: 66
UZS Zombie Survival
Forum: Advertisements
Last Post: phnx
2026-04-04, 05:32 PM
» Replies: 0
» Views: 71
🎮 Free SA-MP Server Hosti...
Forum: Chat
Last Post: Centnodes
2026-04-02, 02:22 AM
» Replies: 14
» Views: 3,387
FCNPC for open.mp
Forum: Pawn Scripting
Last Post: mentaletion
2026-04-01, 12:28 PM
» Replies: 7
» Views: 7,441
Samp development
Forum: Chat
Last Post: pmemorex2016
2026-03-31, 09:57 AM
» Replies: 0
» Views: 133
Pawno compiler (pawncc.ex...
Forum: Support
Last Post: PutuSuhartawan
2026-03-20, 11:12 PM
» Replies: 0
» Views: 178

 
  UPDATES, Q&A, SOCIAL MEDIA, ONE YEAR ANNIVERSARY!
Posted by: Media - 2020-04-14, 11:46 AM - Forum: Development Updates - Replies (15)

HAPPY ANNIVERSARY! 🎈🎉1️⃣

This week is officially ONE YEAR since we came together to start building open.mp!

Our devs have been working hard around their busy everyday lives and full-time jobs to get the core of the project built, and we are hoping to have it ready for public testing very soon!

We are launching our official social media accounts today, with the intention of giving much more frequent updates, community interaction, and more general open-ness about the project. So follow us to stay up to date! 👀

A little look at the modules we've completed so far:

✔️ Actors
✔️ Camera
✔️ Checkpoints
✔️ Classes
✔️ Dialogs
✔️ Legacy Plugins
✔️ Map
✔️ Menus
✔️ Net Stats
✔️ Objects
✔️ PAWN
✔️ Pickups
✔️ Text 3D
✔️ Textdraws
✔️ Timers
✔️ Vars
✔️ Vehicles

We have removed all limits - no streamers are required. This means that OMP servers will be able to use unlimited objects, icons, checkpoints, and vehicles!

We also have a brand spankin' new API which will enable other languages to be added to servers easily!


WHAT DO YOU WANT TO KNOW ABOUT OPEN.MP?
Ask your questions below, and we'll do a big Q&A post later in the week where we answer them!

Make sure you join our forum and follow us on social media to get the latest news and updates from our team!

👇👀👇👀👇👀👇👀👇👀👇


Quote:▪️ Website: 
https://www.open.mp/

▪️ Progress log: 
https://www.open.mp/progress

▪️ Blog: 
https://www.open.mp/blog

▪️ Forum:
http://burgershot.gg

▪️ Facebook:
http://facebook.com/openmultiplayer

▪️ Twitter: 
http://twitter.com/open_mp 
(this name is temporary, but follow it now and you'll still be following the correct account when the name changes!)

▪️ Instagram: 
http://instagram.com/openmultiplayer

▪️ GitHub: 
https://github.com/openmultiplayer


See you soon for testing!

Love,
The open.mp team ❤️

[Image: ScsSW.jpg]


  ?C?mo ser? el tema de la seguridad?
Posted by: keloke - 2020-04-09, 12:46 AM - Forum: Offtopic - Replies (1)

Leyendo posts en este foro, v? que develops y colaboradores del proyecto dicen que la seguridad no depender? del software, sino de los usuarios (empresas). ?Esto es as?? Sinceramente, abrir open.mp y no solucionar una de las m?s fallas que tiene la plataforma SAMP no le veo sentido.

Estar?a bueno que solucionasen este problema, ya que si atacan en SA:MP tambi?n lo har?n en OPEN.MP


  Is it posible?
Posted by: SKainer - 2020-04-08, 01:58 PM - Forum: Questions and Suggestions - Replies (2)

Hi, I wanted to ask if there will be a version like SA-MP 0.3DL in OpenMP, or if there will be something similar



(Sorry for my bad english beforehand)


Video Video-Aulas no Youtube
Posted by: Chainksain - 2020-04-07, 12:56 AM - Forum: Portuguese/Português - Replies (3)

Video-Aulas no Youtube

Ol?, estou fazendo uma serie de tutoriais onde estarei ensinando um pouco sobre como programar um gm de samp, meus videos s?o para aqueles que est?o ingressando na comunidade e j? tem ao menos um conhecimento de l?gica de programa??o b?sica mas que nunca tiveram um contato com programa??o na pr?tica ou n?o conhecem nenhuma linguagem de programa??o, alguns v?deos tamb?m podem vir a ser interessante para aqueles que j? possuem certa experiencia mas ainda n?o dominam completamente ou n?o se sentem confort?veis no ambiente de desenvolvimento para samp. Estes v?deos tamb?m podem ser complementares aos v?deos do PauloR que est?o dispon?veis aqui.


Se quiser acompanhar o lan?amento dos v?deos se increva no meu canal: https://www.youtube.com/channel/UCyWCdp8TBPeFWhU9AT9E7Mg


  sampctl support
Posted by: George - 2020-04-05, 06:44 PM - Forum: Support - No Replies

Hello,



I want to add?sampctl support in my?github repository.



I am not aware if it is?possible to move from releases page on github to scriptfiles folder so I started searching. I found a few results:



https://github.com/Southclaws/sampctl/issues/57

https://github.com/Southclaws/sampctl/issues/292

https://github.com/Southclaws/sampctl/wi...n-Packages



Specifically:

Code:
// some plugins require additional libraries (MySQL is a good example)

// so this field allows you to specify any additional files where the key

// is the path inside the archive and the value is the target path for

// when it gets extracted to the server directory. Most of the time,

// additional shared objects/DLLs should be in the same directory as the

// SA:MP server executable so there is no need to specify any additional

// directories in the value string.

"files": {

? ? "deps/libcurl.dll": "libcurl.dll"

}



But any help would be appreciated.


  td-notification
Posted by: ThePez - 2020-04-05, 06:37 PM - Forum: Libraries - Replies (1)

td-notification

[Image: 68747470733a2f2f696d672e736869656c64732e...6261646765]

This Include allows you to create TextDraw Notifications

[Image: 68747470733a2f2f692e6962622e636f2f704c48...382e706e67]


Installation

Simply install to your project:

Code:
sampctl package install ThePez/td-notification

Include in your code and begin using the library:

Code:
#define TDN_MODE_DEFAULT
#include <td-notification>

Usage
  • MAX_TDN: set how many TextDraw will be shown in TextDraw's Notification

  • TDN_POS_X: TextDraw notifications will be at the position set on the X axis

  • TDN_POS_Y: TextDraw notifications will be at the position set on the Y axis

  • TDN_FONT: TextDraw Notification will have the set font

  • TDN_LETTER_SIZE_X: TextDraw notifications will have the set font size on the X axis

  • TDN_LETTER_SIZE_Y: TextDraw notifications will have the set font size on the Y axis

  • TDN_SIZE: TextDraw notifications will have the set width size

  • TDN_COLOR: TextDraw notifications will have the set font color

  • TDN_COLOR_BOX: TextDraw notifications will have the set box color

  • TDN_PROPORTIONAL: TextDraw notifications will have the set proportional

  • TDN_DISTANCE: TextDraw notifications will have the set distance

  • MAX_TDN_TEXT: TextDraw notifications will have a maximum the set text

  • TDN_MODE_DOWN: TextDraw notifications will scroll down

  • TDN_MODE_UP: TextDraw notifications will scroll up

  • TDN_TIME: TextDraw notifications will hide at the set time

  • TDN_MODE_DEFAULT: TextDraw notifications will use the default settings
Function

Code:
ShowTDN(playerid, const reason[], hide = -1);

Shows a textdraw with the set text
  • If you pass the?hide?parameter, the same thing will return (this is the id of the TextDraw)
Normal functioning: the TextDraw will be automatically hidden, with the time set in?TDN_TIME (no need to use?HideTDN)
  • Returns 1, if the textdraw is shown, perfectly

  • Returns 0, if the text drawing could not be displayed (there are as many TextDraws displayed as set in?MAX_TDN)

Code:
HideTDN(playerid, TDN);

Hides the textdraw

You must pass the id that returned the function ShowTDN
  • Returns 1, if the textdraw was hidden, perfectly

  • Returns 0, if the id passed in the function was not found

Testing

To test, simply run the package:
Code:
sampctl package run


Credits
  • ThePez?- Creator of the include

  • NaS?- helped me gather information to make the include, also helped me somewhere in the code

  • Kristo?- Creator of the?samp-td-string-width?include, it helped me to calculate the width of the TextDraw

  • Y_less?- Creator of the?YSI?include

https://youtu.be/8QKCcM6X14w


  Object disappear problem
Posted by: ChampDotChamp - 2020-04-04, 08:17 PM - Forum: Pawn Scripting - Replies (5)

I have a weird problem. Objects created by functions or commands,?not in?global?OnGameModeInit(), disappear after some period of time.?
I've tried to use default CreateObject, but it hasn't worked.


  FCNPC created in 0 vw and interior when it shouldn't
Posted by: Fairuz - 2020-04-01, 07:02 PM - Forum: Support - No Replies

Code:
stock CreateCivilianNpc( name[ ], skinId[ ], clerkId, animlib[ 16 ], animname[ 16 ], const Float: position[ 4 ], worldid = -1, interior = -1, bool: hostile = true, numSkins = sizeof( skinId ) )
{
    new
        szBotName[ MAX_PLAYER_NAME ];

    format( szBotName, sizeof( szBotName ), "%s", name );
    strreplacechar( szBotName, ' ', '\0' );
    strreplacechar( szBotName, '/', '\0' );

    new
        civilianid = Iter_Free(CivilianNpc);

    if ( civilianid != ITER_NONE )
    {
        new
            randomSkin = random( numSkins );

        Iter_Add(CivilianNpc, civilianid);

        format( g_civilianNpcData[ civilianid ] [ E_ANIM_LIB ], 16, "%s", animlib );
        format( g_civilianNpcData[ civilianid ] [ E_ANIM_NAME ], 16, "%s", animname );
        format( g_civilianNpcData[ civilianid ] [ E_NPC_NAME ], MAX_PLAYER_NAME, "%s", name );
        CreateDynamic3DTextLabel( sprintf( "%s", name ), 0xFFFFFF25, position[ 0 ], position[ 1 ], position[ 2 ], 25.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, .testlos = 0, .worldid = worldid );
        g_civilianNpcData[ civilianid ] [ E_NPC_ID ] = FCNPC_Create( worldid != -1 ? sprintf( "[BOT]%s%d", szBotName, civilianid ) : sprintf( "[BOT]%s", szBotName ) );
        //g_civilianNpcData[ civilianid ] [ E_WORLD ] = worldid == -1 ? 0 : worldid;
        //g_civilianNpcData[ civilianid ] [ E_INTERIOR ] = interior == -1 ? 0 : interior;
        g_civilianNpcData[ civilianid ] [ E_WORLD ] = worldid;
        g_civilianNpcData[ civilianid ] [ E_INTERIOR ] = interior;
        g_civilianNpcData[ civilianid ] [ E_CLERK_ID ] = clerkId;
        g_civilianNpcData[ civilianid ] [ E_HOSTILE ] = hostile;
        FCNPC_Spawn( g_civilianNpcData[ civilianid ] [ E_NPC_ID ], skinId[ randomSkin ], position[ 0 ], position[ 1 ], position[ 2 ] );
        FCNPC_SetAngle( g_civilianNpcData[ civilianid ] [ E_NPC_ID ], ( g_civilianNpcData[ civilianid ] [ E_RZ ] = position[ 3 ] ) );
    }
    else print( "[ERROR] Civilian cannot be added due to small limit, please raise." );

Quote:                
CreateCivilianNpc( "Triad", { 117, 118, 121, 122, 123 }, clerkid, "INT_HOUSE", "wash_up", drugDealerPositions[ 0 ] [ random( sizeof( drugDealerPositions[ ] ) ) ], worldid, .interior = 6 ); 
Quote:                      
            FCNPC_SetVirtualWorld( npcid, g_civilianNpcData[ civilianid ] [ E_WORLD ] );

            FCNPC_SetInterior( npcid, g_civilianNpcData[ civilianid ] [ E_INTERIOR ] );

The value is zero, why ? how do I fix this?


  ColAndreas not supported in 0.3.dl ? or i'm doing something wrong ?
Posted by: mouiz - 2020-03-29, 12:56 PM - Forum: Pawn Scripting - Replies (4)

NVM, Fixed!


  GetPlayerResolution()
Posted by: Sauron - 2020-03-27, 01:08 AM - Forum: Questions and Suggestions - No Replies

Hello!



Can you please include that feature of Hual here:?https://github.com/Hual/SA-MP-Plus/wiki/GetPlayerResolution



It would be useful for showing the correct textdraw size depending on the player'?game resolution.



A big thanks if it gets accepted!



Sincerely Sauron!