Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 162 online users. » 1 Member(s) | 159 Guest(s) Bing, Google, cereniflavio123
|
Latest Threads |
will open.mp supports hig...
Forum: Questions and Suggestions
Last Post: HELLHOUND
3 hours ago
» Replies: 1
» Views: 382
|
Discord server - Ban Appe...
Forum: Chat
Last Post: joshcoconutard
Yesterday, 06:42 PM
» Replies: 0
» Views: 27
|
I know Kalcor left the bu...
Forum: Questions and Suggestions
Last Post: NoxxeR
Yesterday, 02:22 PM
» Replies: 4
» Views: 131
|
Sponsors and Donations
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-20, 05:48 AM
» Replies: 0
» Views: 45
|
Best practices for conver...
Forum: Tech
Last Post: Mido
2025-04-19, 09:53 PM
» Replies: 1
» Views: 108
|
What got you into SA-MP a...
Forum: Chat
Last Post: alecnia
2025-04-17, 01:17 AM
» Replies: 1
» Views: 167
|
I would like to know abou...
Forum: General Discussions
Last Post: Wriney
2025-04-15, 07:14 AM
» Replies: 0
» Views: 76
|
Mini Games
Forum: Advertisements
Last Post: Voldy
2025-04-15, 03:59 AM
» Replies: 9
» Views: 1,926
|
help
Forum: Programming
Last Post: J0nathan550
2025-04-14, 06:10 PM
» Replies: 1
» Views: 185
|
help with hotdog vendor s...
Forum: Programming
Last Post: J0nathan550
2025-04-14, 06:09 PM
» Replies: 4
» Views: 348
|
|
|
Getting Started |
Posted by: yusecozug - 2019-06-30, 08:36 AM - Forum: Chat
- Replies (4)
|
 |
New guy here, I don't think you need an entire GTA:SA installation (with all the audio files and cut-scenes) if you're only doing multiplayer, how do I get started? What do I need to get?
I ask this so I don't go pirating a?4GB gta:sa game only to find out it's not 1.0 or something like that.
Anyone experienced enough to take me through the initial steps? I'm asking for help, not someone to hold my hand.
I don't want to go make time-wasting mistakes.
Thank you.
|
|
|
Docker-compose file for servers using a MySQL database |
Posted by: Freaksken - 2019-06-29, 03:50 AM - Forum: Releases
- Replies (1)
|
 |
This small repository contains an example docker-compose file for SA-MP servers using a MySQL database.
- Put the docker-compose.yml file in the root folder of your server.
- Open the file and change the MYSQL_ROOT_PASSWORD to the root password of your MySQL database.
- Run?docker-compose up to start the docker containers.
|
|
|
[SA-MP 0.3.7] Santos Gaming | Role-Play Project |
Posted by: ShowTime - 2019-06-29, 02:40 AM - Forum: Serwery
- No Replies
|
 |
Hej wszystkim!
Jestesmy w trakcie tworzenia projektu Santos Gaming, kt?ry ma na celu zrewolucjonizowac Polska scene Role Play na platformie SA-MP. Wiele serwer?w, kt?re znajduja sie na wersji 0.3.7 oraz 0.3 DL jest krytykowanych pod wzgledem braku zmian, oraz zlej administracji - Dlatego my chcemy wyciagnac pomocna dlon w strone graczy i stworzyc cos wyjatkowego, co stanie sie nowym domem dla wyjadaczy RP, oraz zwyklych niedzielnych graczy! Zachecamy do dolaczania na nasz serwer discord i pisania propozycji, oraz dyskusji. ??
?? Co oferujemy?
? Profesjonalna administracje z doswiadczeniem - nie popelniamy tych samych bled?w co inne serwery.
? Kilku Developer?w, kt?rzy codziennie pracuja nad rozwijaniem skryptu serwera, oraz forum.
? Ekipe, kt?ra jest pozytywnie nastawiona wobec kazdego gracza, bez wzgledu na to z jakiego serwera pochodzi.
? Mozliwosc dolaczenia do naszej ekipy i rozwijania projektu gry.
? Oryginalny skrypt serwera, oraz forum, kt?re zostanie stworzone na wlasnym silniku, kt?ry zostal stworzony przez nas.
?? Dolacz do nas juz dzis! ??
Serwer discord:?https://discord.gg/nNvfaXP
Strona WWW:?https://santosgaming.pl/
|
|
|
Request for cleaner library logs in the console |
Posted by: Freaksken - 2019-06-27, 05:32 AM - Forum: General Discussions
- Replies (7)
|
 |
Request for plugin/include developers to stop doing shit like this:
Code: ----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
gamemodetext = "Unknown" ?(string)
password = "" ?(string)
bind = "" ?(string)
nosign = "" ?(string)
Server Plugins
--------------
Loading plugin: mysql
>> plugin.mysql: R41-4 successfully loaded.
?Loaded.
Loading plugin: sscanf
===============================
? ? ?sscanf plugin loaded. ? ?
? ? ? ? Version: ?2.8.3 ? ? ? ?
?(c) 2018 Alex "Y_Less" Cole ?
===============================
?Loaded.
Loading plugin: streamer
*** Streamer Plugin v2.9.4 by Incognito loaded ***
?Loaded.
Loading plugin: FCNPC
-------------------------------------------------
? ? FCNPC - Fully Controllable NPC v2.0.0
? ? ? ? ? ?Windows SA-MP 0.3.7 R2
? ? ? ? ? Jun 25 2019 at 00:12:08
?Author: ? ? ? OrMisicL (2013 - 2015)
?Continued by: ziggi ? ?(2016 - present)
?See full credits in the README.md file
-------------------------------------------------
Loading...
-------------------------------------------------
? ColAndreasv1.4.0
? Created By:
? ? [uL]Chris42O
? ? [uL]Slice
? ? [uL]Pottus
-------------------------------------------------
Loading...
ColAndreas v1.4.0 Loaded.
?Loaded.
Loading plugin: timerfix
?>> TimerFix v1.5 successfully loaded.
?Loaded.
Loading plugin: YSF
ARRAY_ConsoleCommands: 4e43d8
===============================
? ? ? ?YSF - kurta999's version R19 loaded
? (c) 2008 Alex "Y_Less" Cole - (c) 2010 - 2016 kurta999
? ?Server version: 0.3.7 R2-1
? ?Operating System: Windows
? ?Built on: Mar 11 2017 at 10:32:34
===============================
?Loaded.
Loaded 6 plugins.
Started server on port: 7777, with maxplayers: 50 lanmode is OFF.
Filterscripts
---------------
?Loading filterscript 'example.amx'...
Loaded collision data.
?Loaded 1 filterscripts.
[MySQL] Error: 2002 Can't connect to MySQL server on 'localhost' (10061).
Loading Map.
Loaded Map.
Number of vehicle models: 94
--- Server Shutting Down.
plugin.mysql: Unloading plugin...
plugin.mysql: Plugin unloaded.
===============================
? ? sscanf plugin unloaded. ? ?
===============================
*** Streamer Plugin v2.9.4 by Incognito unloaded ***
FCNPC Unloaded.
[plugin.timerfix] Plugsin successfully unloaded!
==============
?YSF - kurta999's version R19 unloaded
==============
Example of what it could be, without all of this cluttering:
Code: SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
Plugins
--------------
?Loading plugin: mysql
vR41-4
? Loaded.
?Loading plugin: sscanf
v2.8.3
? Loaded.
?Loading plugin: streamer
v2.9.4
? Loaded.
?Loading plugin: colandreas
v1.4.0
? Loaded.
?Loading plugin: FCNPC
v2.0.0
? Loaded.
?Loading plugin: timerfix
v1.5.0
? Loaded.
?Loading plugin: YSF
vR19
? Loaded.
?Loaded 7 plugins.
Filterscripts
---------------
?Loading filterscript: example
? Loaded.
?Loaded 1 filterscripts.
Gamemode
---------------
?Loading gamemode: bare
[MySQL] Error: 2002 Can't connect to MySQL server on 'localhost' (10061).
[ColAndreas] Info: Loading collision data.
[ColAndreas] Info: Loading Map.
? Loaded.
--- Server Shutting Down.
?Unloading gamemode: bare
? Unloaded.
?Unloading plugin: mysql
? Unloaded.
?Unloading plugin: sscanf
? Unloaded.
?Unloading plugin: streamer
? Unloaded.
?Unloading plugin: colandreas
? Unloaded.
?Unloading plugin: FCNPC
? Unloaded.
?Unloading plugin: timerfix
? Unloaded.
?Unloading plugin: YSF
? Unloaded.
?Unloaded 7 plugins.
Now ask yourself,?which of these 2 examples?would?you like to consult, when for once?you really really need to.
Some of this is clutter is baked into the server itself, but arguably?those logs are somewhat useful. However, pretty much all of the logs done during?plugin/include init and exit?have no benefit, except for maybe the version number during init.
Why is this credits clutter so?necessary? It's annoying and makes your logs actually less readable and useful. Imagine if every time?you used a third party?library in C and started your program, some credits shit about that library gets printed to the console. Sometimes those libraries are written by lots and lots of people. Now imagine not using just 1 third party library...?For some reason this is just a thing that happens in this community. I'm guessing because 1 person did it in the early days and everyone else just followed.
So, I propose a few guidelines for readable,?consistent and?actually useful?logs:
- On plugin/include init, only print the version number?using the following format: v1.0.0
- On plugin/include exit, don't print anything.
- During the lifetime of the plugin/include, use one of these formats for different types of messages:
- Info messages:?[LIBRARY_NAME] Info: YOUR_MESSAGE.
- Error messages:?[LIBRARY_NAME] Error: YOUR_MESSAGE.
- Warning messages:?[LIBRARY_NAME] Warning: YOUR_MESSAGE.
- You can break rule 1 and 2 only if you're absolutely sure that what you need to log is very useful information and that you?use the formats from rule 3.
What follows?are?examples for each rule, taken from the cleaned up code snippet above.
Rule 1:
Just the version number,?preferably using semantic versioning.
Rule 2:
Nothing, as mentioned.
Rule 3:
Info and error messages.
Code: [ColAndreas] Info: Loading Map.
[MySQL] Error: 2002 Can't connect to MySQL server on 'localhost' (10061).
Rule 4:
Loading the ColAndreas collision data is useful information to know.
Code: [ColAndreas] Info: Loading collision data.
I'm not asking for people not to be credited for their work. I'm asking to stop this stupid console cluttering.
Now, let's all start doing this and Make Logs Great Again!
Log and config files:
Adding to this, when a library has its own dedicated log file (e.g. mysql.log) it should go in the?logs?folder in the root of the server directory. Alternatively, if the library uses more than 1 log file, all those files should be together in a folder (e.g. logs/mysql). Configuration files (e.g. YSF.cfg) should go in the configs?folder in the root of the server directory. Alternatively, if the library uses more than 1 config file, all those files should be together in a folder (e.g. configs/mysql).
|
|
|
easyDialog & pawn compiler |
Posted by: Zow - 2019-06-25, 05:47 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
F:\S\pawno\include\easyDialog.inc(95) : error 035: argument type mismatch (argument 4)
F:\S\pawno\include\easyDialog.inc(99) : error 035: argument type mismatch (argument 4)
Pawn compiler 3.10.9? ? ?Copyright © 1997-2006, ITB CompuPhase
2 Errors.
I use them both
easyDialog : https://github.com/Awsomedude/easyDialog
samp-stdlib : https://github.com/sampctl/samp-stdlib
Code: ShowPlayerDialog(playerid, 32700, style, caption, string, button1, button2); // line 95
ShowPlayerDialog(playerid, 32700, style, caption, info, button1, button2); // line 99
|
|
|
[Showcase] Dynamic Gate System |
Posted by: Stefhan - 2019-06-23, 05:25 PM - Forum: Videos and Screenshots
- No Replies
|
 |
An incredibly advanced and user-friendly gate system. It is capable of supporting two objects on a single gate to avoid common inconveniences that you see in other scripts. Such as one gate being open whilst the other is closed, or having a garage gate next to a door gate, causing both to open when you really only want one to open.
I have not shown the basic stuff in the video such as setting a password, or setting an owner for the gate. But it works pretty similarly to any other gate system. This video is just a showcase of what I've created and how simple to use it is. I hope you enjoy and feedback/suggestions are very welcome as I'd love to improve this system even further.
postscriptum: you may notice 'textdraws'?in this video that overlap. some of them are from my mods and others are from the gamemode, that's why they appear to be bugged, when they are in fact not.
|
|
|
Another platform for coding. |
Posted by: mouiz - 2019-06-22, 02:14 PM - Forum: Programming
- Replies (10)
|
 |
I've learn alot from?those 4-5 years of coding in PAWN, is there another fun game/platform?which?uses a different language?so i can learn that in similar process. Actually,?that is because i learnt pawn for fun?but now i realized how useful this is. Although i learnt HTML and C# from tutorials but that way was not as effective.
|
|
|
??????????? |
Posted by: Armado - 2019-06-22, 09:20 AM - Forum: Russian/???????
- Replies (1)
|
 |
??????.??????????????? , ????? ?? ????????? ???????? ?? ????? ??? ? ??? 5??? ??????, ???????? ??????? ? ???? ? ????????.
Hey. I have a question , whether shooting from a car as in GTA 5 will be added? Namely, the driver climbs out the window and shoots.
|
|
|
|