| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 6,618
» Latest member: Amjad
» Forum threads: 2,460
» Forum posts: 12,494
Full Statistics
|
| Online Users |
There are currently 255 online users. » 0 Member(s) | 249 Guest(s) Bing, Google, Applebot, Twitter, Yandex
|
|
|
| JSON Gamemode Base |
|
Posted by: Dev86 - 2024-01-16, 01:52 PM - Forum: Gamemodes
- No Replies
|
 |
JSON Gamemode Base
An OpenMP gamemode that stores player data in a JSON Object using samp-json.
Example of a player object:
Code: {
"id": 0,
"name": "Davorin_Adler",
"password": "<password-hash-goes-here>"
}
All columns on your MySQL Database will be loaded into your JSON Object.
NOTE:
I have written this initially for a gamemode I was personally going to be working on. However, it turned out to be more of a hassle to work with than anything.
I would recommend you base your new gamemode with this if you are a martyr.
DEPENDENCIES:
pawn-json
MySQL R41-4 by pBlueG
YSI 5.x
- y_inline
- y_inline_mysql
- y_inline_bcrypt
- y_dialog
INSTALL:
https://github.com/sampdevi/samp-json-auth
no sampctl support (yet) I'm too lazy zzzzzz
|
|
|
|
| Chat Config |
|
Posted by: eubluen - 2024-01-09, 09:56 AM - Forum: Libraries
- No Replies
|
 |
Chat Config
Download:
Summary of the Include:
- You will be able to globally or per player control whether they will have the chat enabled or not. It's an include that will help those who want to create an RP server or a project without chat. More information is available in the repository on GitHub. If there are any bugs or anything of the sort, just give me a heads up.
Enjoy :)
|
|
|
|
| couldn't announce legacy network error |
|
Posted by: CJ101 - 2024-01-09, 01:13 AM - Forum: Support
- Replies (1)
|
 |
This started happening out of nowhere. (However, i did upgrade to latest open.mp Build)
Code: [00:25:40] [Info] Couldn't announce legacy network to open.mp list.
[00:25:40] [Info] [Server Error] Status: 406
[00:25:40] [Info] [Server Error] Message: {"error":"failed to query server: failed to resolve host: address 2604:2dc0:101:200::1cee:7777: too many colons in address"}
|
|
|
|
SAMP not starting |
|
Posted by: StudioTeamTV - 2024-01-08, 08:52 PM - Forum: General Discussions
- No Replies
|
 |
When i want to play SAMP then i logically click on samp (run as admin) and connect but when i connect to the wtls s1 then when i login it crash i try almost all methods but it not work PLEASE HELP MEEEE
(reinstall of pc dont working)
|
|
|
|
| server crash |
|
Posted by: Emirto - 2024-01-05, 08:28 PM - Forum: Support
- Replies (2)
|
 |
Well i am the community owner of virtual reality roleplay and i had some issue few minutes ago
most of my players crashes because of this warning Warning(s007): Exception 0xC0000005 at 0x44A503 so maybe you guys have a solution for this problem .. Thank you
|
|
|
|
| Many warnings related to types or...? |
|
Posted by: SyNNzka - 2024-01-03, 03:14 PM - Forum: Pawn Scripting
- Replies (4)
|
 |
Hello and happy new year.
I have issues with so many warning rises when compiling, and I wanna know the good way of fixing them and the exact reason (like is some types restrictions?)
For example, I have this code:
Code: PlayerTextDrawAlignment(playerid, RPMLine[17], 2);
The warning disappear if I use TEXT_DRAW_ALIGN_CENTER instead of 2.
Code: PlayerTextDrawAlignment(playerid, RPMLine[17], TEXT_DRAW_ALIGN_CENTER);
It's really annoying that I need to replace this for every system that I have in my gamemode... And I don't understand why, because in the official wiki we can see that 1, 2 and 3 values (1-left, 2-centered, 3-right) are agreeaded, but still I got worning...
Another more annoying example is:
Code: new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehID, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vehID, VEHICLE_PARAMS_OFF, VEHICLE_PARAMS_OFF, alarm, doors, VEHICLE_PARAMS_OFF, VEHICLE_PARAMS_OFF, objective);
And I got this warnings...
"warning 213: tag mismatch: expected tag "bool", but found none ("_")" like x6 times for GetVehicleParamsEx and x3 times for SetVehicleParamsEx.
How should I define new variables to be type bool? I did not find any problem for this in the official wiki, as I see that the defined variables was made the same (https://www.open.mp/docs/scripting/funct...leParamsEx)
One more example....
Code: SetPlayerRaceCheckpoint(playerid, 1, randomPizza[r][0], randomPizza[r][1], randomPizza[r][2], 0.0, 0.0, 0.0, 2.5);
And the warning I got is: "warning 213: tag mismatch: expected tag "t_CP_TYPE", but found none ("_")" as the first example issue.
Is some problem related to my pawnc.dll & pawncc.exe versions? (I used the pawn version that comes with the server openmp)
I really don't know what to do and I don't want to use #pragma...
Appreciate your help, thanks!
|
|
|
|
|