Skip to content

Commit

Permalink
Merge pull request #10 from Aiuraa/master
Browse files Browse the repository at this point in the history
pawn.json improvement
  • Loading branch information
Nickk888SAMP authored Oct 15, 2022
2 parents 8957757 + da71f78 commit 5ca3c41
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 46 deletions.
2 changes: 1 addition & 1 deletion ndialog-pages.inc
Original file line number Diff line number Diff line change
Expand Up @@ -532,4 +532,4 @@ static stock NDP_ProcessDialogResponse(playerid, dialogid, response, listitem, i
#endif

#define OnDialogResponse NDP_OnDialogResponse
#endif
#endif
6 changes: 4 additions & 2 deletions ndp_examples.pwn
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
#include <a_samp>
#include <zcmd>

#define YSI_NO_OPTIMISATION_MESSAGE
#define YSI_NO_VERSION_CHECK
#define YSI_NO_CACHE_MESSAGE
#define YSI_NO_MODE_CACHE

#define MAX_DIALOG_ITEMS 150
#define NDP_AUTO_REMOVE_NEW_LINE false
//#define NDP_USE_LOGGER

#define NDP_USE_LOGGER
#include <ndialog-pages>
#include <zcmd>

new ndp_e_str[128];

Expand Down
55 changes: 12 additions & 43 deletions pawn.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,18 @@
"user": "Nickk888SAMP",
"repo": "Dialog-Pages",
"tag": "3.1.0",
"entry": "ndp_examples.pwn",
"output": "ndp_examples.amx",
"contributors": [
"Nickk888SAMP",
"ZantetsukenGT"
],
"dependencies": [
"pawn-lang/samp-stdlib",
"https://github.com/pawn-lang/YSI-Includes:v5.06.1932",
"Southclaws/zcmd"
"pawn-lang/YSI-Includes"
],
"runtime": {
"version": "0.3.7",
"mode": "server",
"rcon_password": "password",
"port": 7777,
"hostname": "SA-MP Server",
"maxplayers": 50,
"language": "",
"mapname": "San Andreas",
"weburl": "www.sa-mp.com",
"gamemodetext": "Unknown",
"announce": true,
"lanmode": false,
"query": true,
"rcon": false,
"logqueries": false,
"sleep": 5,
"maxnpc": 0,
"stream_rate": 1000,
"stream_distance": 200,
"onfoot_rate": 30,
"incar_rate": 30,
"weapon_rate": 30,
"chatlogging": true,
"timestamp": true,
"messageholelimit": 3000,
"messageslimit": 500,
"ackslimit": 3000,
"playertimeout": 10000,
"minconnectiontime": 0,
"lagcompmode": 1,
"connseedtime": 300000,
"db_logging": false,
"db_log_queries": false,
"conncookies": true,
"cookielogging": false,
"output": true
}
}
"entry": "ndp_examples.pwn",
"output": "ndp_examples.amx",
"dev_dependencies": [
"Southclaws/zcmd",
"Southclaws/samp-logger@master"
]
}

0 comments on commit 5ca3c41

Please sign in to comment.