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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 5,722
» Latest member: pasztor.mark456
» Forum threads: 2,143
» Forum posts: 11,950

Full Statistics

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

Latest Threads
Convoy Trucking
Forum: Advertisements
Last Post: pasztor.mark456
6 hours ago
» Replies: 0
» Views: 2
GameParty DM
Forum: Advertisements
Last Post: yohannathomas911
Yesterday, 12:34 PM
» Replies: 1
» Views: 125
Navigating Car Lease Deal...
Forum: Questions and Suggestions
Last Post: BarbaraLauren
Yesterday, 09:45 AM
» Replies: 0
» Views: 8
Parallel for missing iter...
Forum: Questions and Suggestions
Last Post: johndavidd8888
Yesterday, 08:24 AM
» Replies: 3
» Views: 442
SA-MP Server crash
Forum: Programming
Last Post: dordleluka
Yesterday, 08:17 AM
» Replies: 1
» Views: 129
SA-MP - Skill system
Forum: Programming
Last Post: dordleluka
Yesterday, 08:14 AM
» Replies: 1
» Views: 147
Forsaken Tales: Forgotten...
Forum: Tech
Last Post: dordleluka
Yesterday, 08:11 AM
» Replies: 12
» Views: 16,530
Repositories held for ran...
Forum: Tech
Last Post: dordleluka
Yesterday, 08:08 AM
» Replies: 7
» Views: 10,126
Ensuring Australian Super...
Forum: General Discussions
Last Post: MartinBrown
Yesterday, 08:06 AM
» Replies: 0
» Views: 10
Free webhosting with no a...
Forum: Tech
Last Post: dordleluka
Yesterday, 08:03 AM
» Replies: 5
» Views: 2,806

 
  ?Cual Gta es tu Favorito?
Posted by: Rawnker - 2019-04-16, 03:06 PM - Forum: Discusi?n GTA SA Multijugador - Replies (16)

?Cual es el Grand Theft Auto (GTA) que m?s te gusta y porque?

A mi el que m?s me gusta es el GTA VC por su ambientaci?n e interesante historia


  MV_Autodeploy - Use git to your advantage to auto-update your sa-mp server
Posted by: michael@belgium - 2019-04-16, 02:26 PM - Forum: Releases - Replies (1)

Information



So this is a mix of files/release that will make your developing easier (well, in my opinion). By doing one git command your server will update automaticly on your vps/dedicated server.?

Just the fact that you don't need to upload new .amx every time and need to edit your /updates command ... or like people saying "what's new?"?



This is all not needed anymore!



It works like this; you push your update to your remote, bitbucket will send info to your vps saying the script is updated, your vps will update the gamemode files, your database will get updated and later your server will check if there's a new commit hash than before. If yes, the samp server will automaticly update/restart



Functions



Code:
OnServerUpdateDetected(id, hash[], shorthash[], message[])

OnUpcomingUpdateDetected(updateid, hash[], shorthash[], message[])

OnServerIssueCreated(issueid, title[], priority[], kind[])

OnServerIssueStatusChange(issueid, title[], oldstatus[], newstatus[])

OnServerTagCreated(updateid, linkedtohash[], tagname[])



MV_AutoDeployInit(MySQL:sqlCon)

MV_AutoDeployExit()

MV_GetServerVersion()



Installation



Code on github



[Image: 68747470733a2f2f7075752e73682f774b3873752e6a7067]



Copied from original samp forums


  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 (5)

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 (16)

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?