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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,508
» Latest member: filipmarkoski2
» Forum threads: 2,233
» Forum posts: 12,033

Full Statistics

Online Users
There are currently 374 online users.
» 0 Member(s) | 372 Guest(s)
Bing, Google

Latest Threads
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
Yesterday, 06:36 PM
» Replies: 0
» Views: 30
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 31
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 51
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 453
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 51
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 68
Run time error 19: "File ...
Forum: Pawn Scripting
Last Post: Rexey
2024-11-14, 03:50 AM
» Replies: 0
» Views: 59
How to Compile Your Gamem...
Forum: Tutorials
Last Post: thelante
2024-11-13, 08:50 AM
» Replies: 3
» Views: 456
Modeller wanted
Forum: Development Updates
Last Post: acc.gangbeni
2024-11-11, 05:10 PM
» Replies: 9
» Views: 16,467
SA:MP forum offline
Forum: Portuguese/Portugu?s
Last Post: weslley_script
2024-11-09, 05:27 PM
» Replies: 7
» Views: 9,906

 
Exclamation Sohbet Konusu
Posted by: sweezy - 2019-05-21, 01:06 AM - Forum: Turkish - Replies (103)

Selam.?[Image: 35.png]


  Please fix font and color codes
Posted by: Metro - 2019-05-20, 05:58 PM - Forum: Questions and Suggestions - Replies (2)

They broken


  Creador de TextLabels y Dialog v?a web
Posted by: Eply - 2019-05-19, 11:50 PM - Forum: Programaci?n - Replies (1)

Hola comunidad lo que vengo a presentarles es un creador de TextLabels y Dialog por web,?tambien nos permite ver como va quedando cr?ditos?al creador _Zume.

Algunas Im?genes


[Image: nlxv7OK.png]


[Image: nlxv7OK.png]


Web:?http://pawn.2al.ru/?lang=es


Video OpenBull - Bullworth Town [SA:MP]
Posted by: MrHind - 2019-05-19, 11:06 PM - Forum: Videos and Screenshots - Replies (15)

[Image: Sin_titulo-1.png]



[Image: main_post_content.png?raw=1]

Quote:Most people here know "Bullworth Town", and have played this great game, but hey, that is not the important thing in this thread.


I discovered that some people wanted to launch the map of this game on their servers, but the conversion for sa: mp did not exist, some servers work to convert this map and others doknow how to do it. I am doing this conversion, since I am possibly going to publish it at the end of the month (June), this is for people who are interested in using this place.



If you want to have more information about the conversion of this map, you can access my Discord.

I don't?know what other information to provide, but hey, I'll be adding updates to this thread over time.



Quote:NOTE: In addition to making the conversion, I will carry out a maintenance on this map, that is, I will repair collisions, models and I will also cover the holes that are on top of the houses.



[Image: file#]



[Image: 123.gif]









Original thread:




Credits:



? Rockstar Games.?

??nWo51289 - Conversion Gta SA.

??Kaizerhind - Conversion SA:MP.

??cj2000 -??R* Col Converter, R* Texture Converter.

??fastman92 -?fprocessor, IMG Limit Adjuster.

??DK22Pac - MagicTXD.

??LINK/2012 - Modloader.

??ZAZ - Clean main.scm???.

Discord: Kaizer#2694

[Image: widget.png?style=banner2]


  Got a question about Discord Rich Presence for o:mp
Posted by: MR.GHOST - 2019-05-19, 07:28 PM - Forum: Questions and Suggestions - Replies (2)

Will o:mp be featured in?Discord Rich Presence ? So we can say like wich server we are on and server infos and some other infos?


  YSI acting up
Posted by: Metro - 2019-05-19, 06:15 PM - Forum: Pawn Scripting - Replies (6)

I've installed the 5.x branch of the YSI library to get rid of the pesky const correctness warnings and followed the instruction of changing the syntax to include y_hooks in all my files and this was the result



Code:
C:\Users\nonso\Desktop\WaveLS\dependencies\YSI-includes\YSI_Data\y_iterate.inc:108 (fatal) user error: Could not find y_iterate



Build encountered fatal error



Wht's goin on


  y_hooks v4(ish)
Posted by: Y_Less - 2019-05-19, 02:57 PM - Forum: Pawn Scripting - Replies (10)

Right, so I've been thinking about y_hooks.

This is the current syntax:

PHP Code:
hook OnWhatever()
{


Chaining is implicit - the only control you get is returning `~0` instead `0` to stop the next hook being called. ?Only `0` or `1` can be returned; and only public functions can be hooked.

A while ago I came up with an extension:

PHP Code:
hook public OnWhatever()
{
}

hook stock MyFunc()
{
}

hook native SendCommand()
{


I don't like using `stock` in this context, as it reinforces the idea that so-called "stocks" are functions, and vice-versa, but any more accurate keyword would mean introducing additional new ones, which I don't want to do. ?Using the old `hook` syntax would continue to work in exactly the way it does now. ?For the new syntax, I may as well fix all the issues at once - return values as well. ?This means adding an explicit method of chaining:

PHP Code:
hook public OnPlayerConnect(playerid)
{
    if (
<= playerid MAX_PLAYERS)
    {
        return 
CallNextHook("OnPlayerConnect""i"playerid);
    }
    return 
0;
}

hook native random(max)
{
    if (
max 0)
    {
        return -
CallNextHook("random""i", -max);
    }
    if (
max 0)
    {
        return 
CallNextHook("random""i"max);
    }
    return 
cellmin;


I'd like some slightly nicer syntax for the chain call, and this is where I'm looking for feedback. ?There are several options:

  1. Exactly what's above, just an obvious function call. ?This has several downsides - verbose, variable parameters, string argument specifier (error-prone), string function name; and only one upside - not custom syntax.

  2. Using indirection.inc with the hook name:

    PHP Code:
    return @.OnPlayerConnect(playerid); 

    Advantages: Established syntax, compile-time specifier determination (can be part of the `hook whatever` line, don't worry about that), less verbose, more clear.

    Disadvantages: Still no compile-time parameter checking, but none of the proposals have that.

  3. Using indirection.inc with the `hook` keyword:

    PHP Code:
    return @.hook(playerid); 

    Basically the same as option "2", but more consistent across all hooks, and less likely to conflict with other variables. ?As for specifiers, there are two options - 1) none, which is not good, but means that the chaining is no longer tied to the hook function:

    PHP Code:
    Other(a)
    {
        return @.
    hook(a);
    }

    hook stock MyFunc(a)
    {
        return 
    Other(a);


    Or the other option is just make `hook` a local in exactly the same way as would be done in option "2a".

  4. `continue`.

    I like this for one reason - it is quite clear on meaning:

    PHP Code:
    hook stock MyFunc(a)
    {
        new 
    = continue(a  5);
        return 
    5;


    `continue()` cannot conflict with `continue`, so this is a completely unambiguous overload of an existing keyword.

  5. `hook continue`.

    Like "4", but using slightly more verbose, less confusing, syntax:

    PHP Code:
    hook stock MyFunc(a)
    {
        new 
    hook continue(a  5);
        return 
    5;


  6. `yield continue`.

    Again, like "4" and "5", but reusing the `yield` keyword, already existant in YSI. ?`y_iterate` uses `yield return`, so this would provide meaning to `yield continue` as well:

    PHP Code:
    hook stock MyFunc(a)
    {
        new 
    = yield continue(a  5);
        return 
    5;


  7. Completely custom syntax:

    PHP Code:
    hook stock MyFunc(a)
    {
        
    // Example custom syntax, probably not this, maybe `next()`.
        
    new next_hook::MyFunc<>!!!(a  5);
        return 
    5;


  8. Something I've not thought of.

My personal preference is actually for `continue()`. ?It is quite clear, unambiguous in usage (the normal use can't have brackets), and actually allows for slightly better code than that which would be run by using any of the indirection.inc options. ?However, they have the advantage of established practice. ?So my choices in order of preference would be: 4, 3, 5/6, 2, 1, 7. ?Unless, of course, someone has a better option 8.

Explicit chaining implicitly solves the return values problem - any value can be returned, and you don't need `~0` and `~1` reserved for chaining control because you now say exactly when the next function is called. ?You can also use the return of the next chained call.


  Suggestion for Burgetshot logo redesign
Posted by: MR.GHOST - 2019-05-19, 01:38 PM - Forum: General Discussions - No Replies

Well i done this?
[Image: received_1095766637273095.png]

It isnt that great but just to give some ideas
Well i can explain what it stands for
The burger u know the burger and a scope aim for shot so burgetshot

Tried to do something like this
[Image: Screenshot_20190519-084156.png]
Burgershot old school


  (Mapping Showcase)- Boo mappings
Posted by: Boo - 2019-05-19, 12:17 AM - Forum: Videos and Screenshots - Replies (1)

Hello everyone, I am a new mapper and I created a channel to present my maps, I hope you like it.

https://www.youtube.com/channel/UCiKcLLU...subscriber


Heart Please use Affero GPL or similar for the license
Posted by: ohmios - 2019-05-17, 08:35 AM - Forum: Questions and Suggestions - Replies (3)

Short version: Please use the?GNU Affero General Public License for open.mp

Long version:
If I understand correctly open.mp will be open source once it's released to the public. This is great! There's only a small detail I realize just now about the specific license terms open.mp choose and what it could mean for the players.

First, if open.mp uses a non strong copyleft license, this could allow for third parties to create closed source versions of open.mp, and with the correct marketing they could even become more popular than open.mp itself. This would be terrible for the players because they will lose the freedom, convenience and other advantages that only an open source development can give. To prevet this I suggest using a strong copyleft license such as the GPL. This way, third parties are still allowed to modify open.mp's source code to their heart's content. But they will required to share the full modified source code when distributing their modified version. This will be beneficial to the open.mp developers because they will be able to merge popular changes.

Second, the server part of open.mp will be just as important as the client part. Taking this into consideration, another point also related to the first?must be highlated. And this is the fact that most licenses?don't prevent server owners?from modifying the open.mp server source code and not?release the source code to their users. This is because connecting to a server does not count as distributing in the copyleft context. To prevent this I suggest using a license that prevents this, such as the?Affero GPL.?This way, third parties are still allowed to modify open.mp's server source code to their heart's content. But they will required to share the full modified source code to the players connecting to their server.

Using the?GNU Affero General Public License for free distribution?could allow open.mp a way of monetization?by selling non copyleft licenses, there's lots of companies developing open source using this kind of business model.

Finally, what I want to prevent is closed source forks of open.mp becoming incompatible with the original open source version, I dont have any issue with open source forks of open.mp being incompatible?because as long as they are open source too, then open.mp can simply merge the changes to keep? compatibility if necessary.

For more information on the?GNU Affero General Public License:?Why the Affero GPL