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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,505
» Latest member: lucasmillerfeb2022
» Forum threads: 2,241
» Forum posts: 12,047

Full Statistics

Online Users
There are currently 626 online users.
» 1 Member(s) | 622 Guest(s)
Google, Bing, Yandex, BVZS

Latest Threads
What is mebendazole used ...
Forum: Questions and Suggestions
Last Post: lucasmillerfeb2022
3 hours ago
» Replies: 0
» Views: 9
Rosalife Gamemode [openMP...
Forum: Gamemodes
Last Post: vactidylee
Yesterday, 04:17 AM
» Replies: 5
» Views: 4,547
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 25
Offensive-Core: TDM
Forum: Gamemodes
Last Post: threezhang.cn
2024-11-21, 09:54 AM
» Replies: 5
» Views: 939
Outstanding Customer Serv...
Forum: Chat
Last Post: va6220902
2024-11-21, 07:52 AM
» Replies: 0
» Views: 32
New place
Forum: Life
Last Post: sjaardamilly
2024-11-21, 06:58 AM
» Replies: 0
» Views: 24
How Zhewitra Oral Jelly W...
Forum: General Discussions
Last Post: erctilenovus
2024-11-20, 08:39 AM
» Replies: 0
» Views: 31
Cenforce 100 Mg Medicine ...
Forum: Chat
Last Post: ezraallen45ea
2024-11-19, 10:00 AM
» Replies: 0
» Views: 38
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 46
What is the use of Wakler...
Forum: Other
Last Post: allencooper
2024-11-18, 10:37 AM
» Replies: 0
» Views: 30

 
  Nederlandse muziek
Posted by: Codeah - 2019-04-16, 02:14 PM - Forum: Dutch/Nederlands - Replies (9)

Ik woon al een paar jaar in het buitenland, maar alle muziek die ik zie op YouTube Trending is echt pijnlijk om naar te luisteren.



Bestaat er nog goede Nederlandse muziek? Als dat zo is, post het dan hieronder.


  News open.mp Russia
Posted by: Nikita228 - 2019-04-16, 01:36 PM - Forum: Russian/??????? - Replies (1)

Russian-speaking community, we will publish news related to open.mp



Link - https://vk.com/openmpnews


  Screen Colour Fader
Posted by: kristo - 2019-04-16, 12:12 PM - Forum: Libraries - No Replies

SA-MP Screen Colour Fader



[Image: sampctl-samp--screen--colour--fader-2f2f...-the-badge]



This library lets you add colour filters to players? screens and fade between them. Until today I was using a modified version of Joe Staff?s fader include, but since it was using a separate argument for each part of an RGBA colour and the original was outdated in general, I decided to create my own. Here?s what I came up with.



Installation



Simply install to your project:



Code:
sampctl package install kristoisberg/samp-screen-colour-fader



Include in your code and begin using the library:



PHP Code:
#include <screen-colour-fader> 



Functions



PHP Code:
native SetPlayerScreenColour(playeridcolour); 



Will set the player?s screen colour to the specified colour. Can be used during a fade, but the fade will continue after the current step is finished. Returns 1 if the specified player is connected or 0 if not.



PHP Code:
native GetPlayerScreenColour(playerid); 



Can be used during a fade. Returns the current colour of the player?s screen if the player is connected or 0x00000000 if not.



PHP Code:
native FadePlayerScreenColour(playeridcolourtimesteps); 



Fades the player?s screen from the current colour to the colour specified in the function. time specifies the duration of the fade and steps specifies the amount of steps made during the fade. Returns 1 if the specified player is connected and the values of time and steps are valid or 0 if not.



PHP Code:
native StopPlayerScreenColourFade(playerid); 



Stops the ongoing fade. The colour of the player?s screen will remain as it is at the time of the function call. Returns 1 if the specified player is connected and has an ongoing fade or 0 if not.



Callbacks



PHP Code:
forward public OnScreenColourFadeComplete(playerid); 



Notes


  • Both for the functions and the callback, the American spelling (color instead of colour) is also supported.


Example



The following piece of code (also available in test.pwn) fades the player?s screen to red and back to transparent five times.



PHP Code:
new bool:reversecounter;



public 
OnPlayerConnect(playerid) {

? ?
SetPlayerScreenColour(playerid0x00000000);

? ?
FadePlayerScreenColour(playerid0xFF0000AA100025);

? ?return 
1;

}





public 
OnScreenColourFadeComplete(playerid) {

? ?if (
流⺞힫 == 10) {

? ? ? ?return 
1;

? ?}



? ?
FadePlayerScreenColour(playeridreverse 0xFF0000AA 0x00000000100050);



? ?
reverse = !reverse;



? ?return 
1;





Testing



To test, simply run the package:



Code:
sampctl package run



And connect to localhost:7777 to test.


  PAWN Colour Manipulation
Posted by: kristo - 2019-04-16, 12:09 PM - Forum: Libraries - Replies (3)

PAWN Colour Manipulation



[Image: sampctl-pawn--colour--manipulation-2f2f2...-the-badge]



This library provides a number of easy-to-use colour manipulation functions for PAWN.



Installation



Simply install to your project:



Code:
sampctl package install kristoisberg/pawn-colour-manipulation



Include in your code and begin using the library:



PHP Code:
#include <colour-manipulation> 



Testing



To test, simply run the package:



Code:
sampctl package run



There is also a separate test script (samp-grayscale-bitmap) that unfortunately doesn?t work yet due to a bug in samp-bitmapper.



Functions



PHP Code:
GetColourComponents(colour, &Float:r, &Float:g, &Float:b, &Float:1.0ColourMode:mode COLOUR_MODE_RGBA



Extracts the RGB(A) components from a colour code.



PHP Code:
Float:GetColourComponent(colourColourComponent:componentColourMode:mode COLOUR_MODE_RGBA



Extracts an individual colour component from a colour code and returns it.



PHP Code:
SetColourComponent(colourColourComponent:componentFloat:valueColourMode:mode COLOUR_MODE_RGBA



Modifies an individual component of an existing colour and returns the new colour.



PHP Code:
GetColourCode(Float:rFloat:gFloat:bFloat:1.0ColourMode:mode COLOUR_MODE_RGBA



Creates a colour code from RGB(A) components.



PHP Code:
ConvertColour(colourColourMode:fromColourMode:toFloat:alpha 1.0



Converts a colour from one colour mode to another. Alpha should be specified when converting from RGB, otherwise 0xFF (fully non-transparent) is used.



PHP Code:
InterpolateColours(colour1colour2Float:amountColourMode:mode COLOUR_MODE_RGBA



Interpolates two colours. amount must be in the range 0.0 - 1.0. The larger amount is, the closer the returned colour is to colour2.



PHP Code:
Float:GetColourBrightness(colourColourMode:mode COLOUR_MODE_RGBA



Returns the brightness of a colour.



PHP Code:
DarkenColour(colourFloat:amountColourMode:mode COLOUR_MODE_RGBA



Darkens a colour by interpolating it with the black colour.



PHP Code:
LightenColour(colourFloat:amountColourMode:mode COLOUR_MODE_RGBA



Lightens a colour by interpolating it with the white colour.



PHP Code:
GrayscaleColour(colourColourMode:mode COLOUR_MODE_RGBA



Returns the grayscale equivalent of a colour.



PHP Code:
Float:GetColourComponentFractValue(value



Converts a binary colour component value to a fractional value.



PHP Code:
GetColourComponentBinaryValue(Float:value



Converts a fractional colour component value to a binary value.



PHP Code:
Float:AddColourComponentGammaCor(Float:value



Adds sRGB gamma correction to a colour component.



PHP Code:
Float:RemoveColourComponentGammaCor(Float:value



Removes the sRGB gamma correction from a colour component.



Definitions



Colour modes



COLOUR_MODE_RGBA - The most common colour format in SA-MP: used by SendClientMessage, textdraws, etc.



COLOUR_MODE_ARGB- Colour format used by SetObjectMaterial, SetObjectMaterialText and SetPlayerAttachedObject.



COLOUR_MODE_RGB - Colour format used by embedded colours, probably the most common colour format outside of SA-MP, most notably in webpages.



Colour components



COLOUR_COMPONENT_R - Red



COLOUR_COMPONENT_G - Green



COLOUR_COMPONENT_B - Blue



COLOUR_COMPONENT_A - Alpha



Notes



Both British and American spellings (color/colour, gray/grey) are supported for everything noted above.


  Send your burger pics
Posted by: kristo - 2019-04-16, 12:06 PM - Forum: Chat - Replies (11)

.


  Web Development
Posted by: Bruce - 2019-04-16, 10:18 AM - Forum: Tech - Replies (3)

So, Hello I am Bruce (obviously).

I am trying to get myself into different courses around to start a new thing for myself. Web development.?

I kinda want to start with Front End Development and than move to Back End Development and than to more things.

I need your help with suggestions on how to start and if u got any useful links you can share.

I would be thankful to everyone who gives even a little bit of help.


  open.mp anticheat
Posted by: Reachless - 2019-04-16, 09:39 AM - Forum: Questions and Suggestions - Replies (15)

I believe it would be a great idea to take into consideration adding an?anticheat to the open.mp client. Aiming hacks are a huge issue currently and a lot of servers already adopted clientsided anticheats like whitetiger's or sampcac. In the beginning, I am sure that adding natives for small checks (like returning a list of injected modules into the gta_sa executable, or checking the md5 hash of a local file) would help us greatly.


  Code formatter (prettier)
Posted by: AmirSavand - 2019-04-16, 05:49 AM - Forum: Pawn Scripting - Replies (3)

Is there a way to automatically format scripts?


  Game: ?Qu? opinas acerca el usuario que coment? antes de usted?
Posted by: Savage - 2019-04-16, 05:11 AM - Forum: Offtopic - Replies (52)

As? es, como dice en el t?tulo, debes opinar acerca el usuario que comento antes de usted. Y como siempre, por favor, eviten los insultos.


Pues pienso que el creador del post es hermoso:). Ndeaah.


  Solucionar errores Directx 2.0 W10
Posted by: CVaZ - 2019-04-16, 04:12 AM - Forum: Mods - Replies (11)

?Hola!, hoy les vengo a compartir tres (3)?soluciones a errores muy frecuentes con el ENB series DirectX 2.0.

Primer error:

(No tengo SS para esto)

El primer error consiste en que al iniciar el gta_sa.exe/sa-mp, te va a salir una ventana diciendo: Gta_Sa necesita directx 9.0?

Me pase varias horas busc?ndole una soluci?n a esto, y encontr? una muy f?cil.?

Primero vamos a ingresar a esta pagina: https://www.microsoft.com/es-ES/download...aspx?id=35 (Pagina 100% segura, lo saque de la pagina de Microsoft)
[Image: i4P8oq2.png]

Le daremos a Descargar y se nos empezara a descargar un programa llamado:?dxwebsetup.exe

Cuando ya se haya instalado le damos doble click?
Le damos a: Acepto el contrato y Siguiente.
[Image: fXklX9D.png]

Ahora desmarcaremos la casilla de Bing (Bing es un buscador web de Microsoft)
[Image: l1M3v6W.png]

Y ya se proceder? a instalar solo, cuando termine esto, ya el problema estar?a solucionado.??

Segundo error:

?Espera no te vayas todav?a!?
El segundo error consiste en que no se abre el SA-MP,?da Crash.?

Esto es muy f?cil de solucionar.?

Abriremos la carpeta que nos dejo el DirectX 2.0, la cual tiene por nombre:? Fix Problems Win 10
[Image: C73Zwqv.png]

Despu?s de esto copiaremos estos 3 archivos a la carpeta ra?z de nuestro GTA.?
[Image: 3UjUAQo.png]

Ya estar? el segundo problema solucionado.?

Tercer error:
?Ya estas emocionado de poder jugar con este hermoso ENB? No te preocupes, ya falta poco.?

Lo ultimo que haremos sera apretar las teclas: Windows (Alado del ALT y del Ctrl) R (Las dos juntas)

Se nos abrir? una pesta?a abajo y le vamos a poner en el cuadro blanco: Regedit?

[Image: Ywdhh20.png]

Se nos abrir? una ventana llamada: Editor de Registro.?

Le daremos a:?HKEY_CURRENT_USER
? ? ? ? ? ? ? ? ? ? ?Software
? ? ? ? ? ? ? ? ? ? ?SAMP

?Ya?

Bueno prosigamos.?

A lado se nos abrir? una pesta?a y seleccionaremos el que dice: gta_sa_exe

Click derecho y en modificar.?

Nos aparecer? algo tal que as?:?
[Image: dx0Bsyk.png]

A donde dice \gta_sa.exe, lo cambiaremos por:?enb.exe
[Image: 32tOnoj.png]

Le daremos en Aceptar y cerramos directamente.?

Ahora ya esta todo solucionado, solo quedara darle click derecho y ejecutar como administrador a esto:?
[Image: 1G3uHiu.png]

?Felicidades, ahora te abrir??el SA-MP con el ENB!?
Que lo disfrutes.