Commit Graph

416 Commits

Author SHA1 Message Date
Lorenc Pekaj
f0d793d4fc speed up robbery time with thermal drill 2018-10-08 21:36:19 +11:00
Lorenc Pekaj
53d7f274e8 increase payout for robberies 2018-10-08 21:34:45 +11:00
Lorenc Pekaj
b2f9b51388 increase safe picking speed with higher robbery level 2018-10-08 21:10:32 +11:00
Lorenc Pekaj
43525a52aa store progress bar in progress.pwn and use progressbarv2 2018-10-08 21:02:19 +11:00
Lorenc Pekaj
6b3cb411cf adjust clerk xp credit 2018-10-08 21:02:03 +11:00
Steven Howard
5771ed6461 fixed the wrongly formatted command for /getgang 2018-10-07 21:52:35 +01:00
Lorenc Pekaj
aa00cd6346 address issue with clerks giving too much xp 2018-10-06 12:54:20 +10:00
Lorenc Pekaj
1ea84952ae move toys into toys module cnr\features\toys.pwn 2018-10-06 12:11:26 +10:00
Lorenc Pekaj
19446fd230 move shop data to module shops.pwn (supasave) 2018-10-06 11:59:34 +10:00
Lorenc Pekaj
b4bd152bae add back all robbery npcs ... drop the pay of safes by a tiny bit 2018-10-06 11:14:18 +10:00
Lorenc Pekaj
41489478b7 modulize entrances, jobs, robbery npcs, robbery safes, vaults 2018-10-06 10:50:23 +10:00
Steven Howard
1daf8141dc Merge branch 'gang-changes' of https://bitbucket.org/lorenc/cnr into gang-changes 2018-10-05 19:42:40 +01:00
Steven Howard
b7cb7134bc adds turf location when another gang is turfing 2018-10-05 19:39:53 +01:00
Steven Howard
be5edf4ddd removed test function 2018-10-05 18:38:47 +00:00
Steven Howard
7e79d90dc0 adds /getgang [PLAYER_ID] - returns the gang that the player is in. 2018-10-05 19:23:27 +01:00
Steven Howard
2789c3f234 changed /turfs into /gang turfs 2018-10-05 19:14:57 +01:00
Steven Howard
4ebaf037a0 adds /turfs - showing all the current turfs and the gang who controls it 2018-10-05 15:48:24 +01:00
Lorenc Pekaj
cbc7e6a429 drop health according to dm level 2018-10-05 16:50:05 +10:00
Lorenc Pekaj
b245112594 reduce turf pay by 500, increase facility spawn fee by 250 (gangs) 2018-10-05 16:37:53 +10:00
Lorenc Pekaj
4ae2a86512 passive mode is now automatically enabled 2018-10-05 16:32:32 +10:00
Lorenc Pekaj
16fd59d78a improve business payouts ... significantly 2018-10-05 16:32:19 +10:00
Lorenc Pekaj
7d83b8bccb add chainsaw pickup ... remove dialog for lumberjack 2018-10-05 16:32:01 +10:00
Lorenc Pekaj
fd1d42d961 remove duplicate inc on pool ... updates.txt update 2018-10-05 03:58:08 +10:00
Lorenc Pekaj
60cf953710 fix xp credited on specific weapons 2018-10-04 06:29:48 +10:00
Lorenc Pekaj
acd524163d add facility objects 2018-10-04 06:16:22 +10:00
Lorenc Pekaj
a3d7673072 increase facility limit 2018-10-04 06:09:51 +10:00
Lorenc Pekaj
8f6a417b6b fix business bug with supplies 2018-10-04 06:02:52 +10:00
Lorenc Pekaj
c182ee10b2 add different colors to experience 2018-10-04 05:52:08 +10:00
Lorenc Pekaj
8a2f312bb5 perks cleanup 2018-10-04 05:47:29 +10:00
Lorenc Pekaj
233d83cf39 charge gangs $250 per spawn on their facility 2018-10-04 05:44:45 +10:00
Lorenc Pekaj
c4e50c8bfc add perks based off total level and make it expensive ...
dm experience now varies between the weapon
2018-10-04 05:35:04 +10:00
Lorenc Pekaj
e94b7d8772 require min 7 days before upgrading 2018-10-02 01:04:54 +10:00
Lorenc Pekaj
b461ee83e6 fix potential passive bug 2018-10-01 14:57:09 +10:00
Lorenc Pekaj
0f4aee7915 solve issue with saved biz vehicles showing unpurchased 2018-10-01 14:39:08 +10:00
Lorenc Pekaj
65cc786fa0 error fix and update changelog 2018-10-01 14:25:54 +10:00
Lorenc Pekaj
a8bba4c4e4 update description 2018-10-01 14:20:08 +10:00
Lorenc Pekaj
0ce410a1ba business production timer now relies on players online 2018-10-01 14:18:16 +10:00
Lorenc Pekaj
26a860dab3 modulize business system and disable business security 2018-10-01 13:30:25 +10:00
Lorenc Pekaj
487cecf314 modulize spike strips ... left alt to deploy spike strip 2018-09-30 03:37:42 +10:00
Lorenc Pekaj
a1960abe96 redundant variables removed 2018-09-30 03:37:26 +10:00
Lorenc Pekaj
ce3ddea6f1 add stev to rcon whitelist 2018-09-30 03:15:20 +10:00
Lorenc Pekaj
31b67c20e4 add pagination to realestate (/estate) ... can support hundreds of homes now 2018-09-30 03:14:56 +10:00
Lorenc Pekaj
d0b1061ad2 fix potential chuffsec issue 2018-09-30 02:37:13 +10:00
Lorenc Pekaj
c5c0213793 cleanup 2018-09-29 21:50:27 +10:00
Lorenc Pekaj
d3db7d1117 passive mode bugfix 2018-09-29 21:41:11 +10:00
Lorenc Pekaj
0dc80c7bc0 update vip description 2018-09-29 21:23:22 +10:00
Lorenc Pekaj
f6a21c8c66 fix total xp bug in stats 2018-09-29 20:00:51 +10:00
Lorenc Pekaj
6c0ae4134c add progress bar to experience 2018-09-29 19:25:39 +10:00
Lorenc Pekaj
88c8bd3582 remove xp market, completely deprecate prior xp system 2018-09-29 08:13:08 +10:00
Lorenc Pekaj
692a8fa8e0 Add refresh button to /level as well as a user parameter 2018-09-29 06:34:42 +10:00
Lorenc Pekaj
e9b76938bd reduce bc success by 5% ... reduce lvl 100 requirements 2018-09-29 06:13:29 +10:00
Lorenc Pekaj
2e56a7bb57 error fix with random msgs 2018-09-29 06:08:36 +10:00
Lorenc Pekaj
556a008573 move player market cmds to /ic 2018-09-29 06:05:39 +10:00
Lorenc Pekaj
f81d656161 start with just police, robbery, dm levels 2018-09-29 04:44:18 +10:00
Lorenc Pekaj
0c22793fb5 bug fix with integer 2018-09-28 10:44:06 +10:00
Lorenc Pekaj
14c73d01ae drastically dilute the xp 2018-09-28 10:35:13 +10:00
Lorenc Pekaj
1005a506b6 add more levels ... copy queries at the bottom to fully populate 2018-09-28 10:29:13 +10:00
Lorenc Pekaj
1e6b9d8116 - add xp dilation just so people do not get bored of "+1 xp" constantly
- double xp factored in
2018-09-28 09:49:06 +10:00
Lorenc Pekaj
2cb296835a remove redundant e_level from enumerator ... add /levels command for testing 2018-09-28 09:24:49 +10:00
Lorenc Pekaj
054f4e4363 add experience v2 base ... remove accountid parameter from onplayerlogin 2018-09-28 09:07:58 +10:00
Lorenc Pekaj
a9f6a09447 add player market description 2018-09-28 07:45:09 +10:00
Lorenc Pekaj
be74b5be2d min buy amount will be .5 ic 2018-09-28 05:39:15 +10:00
Lorenc Pekaj
0831864a2a add player coin market 2018-09-28 05:23:59 +10:00
Lorenc Pekaj
6dbfc1ecfe add system for buying coins and selling coins 2018-09-28 03:51:06 +10:00
Lorenc Pekaj
5be244ea27 begin work on player ic market 2018-09-28 02:52:38 +10:00
Lorenc Pekaj
6d1f4247ef tiny cleanup + update updates.txt 2018-09-26 17:01:34 +10:00
Lorenc Pekaj
2d46306b9a make houses, and shark cards 10% cheaper 2018-09-26 14:16:29 +10:00
Lorenc Pekaj
09d8e0a1c1 fix animation bug 2018-09-26 14:16:15 +10:00
Lorenc Pekaj
4bf6b8f33e introduce OnPlayerFirstSpawn( p ), OnPlayerMoveMode( p, t ) ... move animation to /features/animations.pwn 2018-09-26 14:04:39 +10:00
Steven Howard
b3102535bc Merged master into changes 2018-09-25 22:24:44 +01:00
Steven Howard
04cbc67c6a updating main script from animations changes 2018-09-25 22:24:04 +01:00
Steven Howard
65e0ac30c3 move animations code to module 2018-09-25 22:23:20 +01:00
Steven Howard
7850b215bc dialog based /acmds 2018-09-25 22:06:23 +01:00
Lorenc Pekaj
3bc77224c5 make gold vip 1.8k ic per month ... add custom estate to ic market 2018-09-26 04:09:20 +10:00
Lorenc Pekaj
d0aab3adb6 passive mode green textdraw 2018-09-26 01:52:53 +10:00
Steven Howard
b8df0fc32f Merge branch 'changes' of https://bitbucket.org/lorenc/cnr into changes 2018-09-25 16:30:09 +01:00
Steven Howard
c4a9400601 revet pm messang lengh changes 2018-09-25 16:18:52 +01:00
Steven Howard
aa22ea2c97 Merged master into changes 2018-09-25 16:18:17 +01:00
Steven Howard
1ebbadeeb8 adds /passivelist
adds a textdraw quite like "admon on duty" and it's "Passive Mode"
2018-09-25 16:17:34 +01:00
Lorenc Pekaj
cdfe84671d allow players over the vip limit to utilize their houses/vehicles 2018-09-26 00:23:25 +10:00
Steven Howard
05e994fe46 changed force command errors
changed dialog outputs for /reports and /questons
added /mutelist into a dialog base
2018-09-25 14:58:05 +01:00
Lorenc Pekaj
bd597eb945 remove pool function placeholder 2018-09-25 23:54:59 +10:00
Lorenc Pekaj
3d54f3f266 random msg for stephanie and estate 2018-09-25 23:50:01 +10:00
Lorenc Pekaj
c535ca1796 fix potential sql injection vulernability :O 2018-09-25 23:46:30 +10:00
Lorenc Pekaj
df5038457e fix crowdfund SQL error 2018-09-25 23:36:53 +10:00
Lorenc Pekaj
1c70a050e3 compile error and add back in pool 2018-09-25 23:28:31 +10:00
Lorenc Pekaj
4c93b2e888 include house name in realestate sale 2018-09-25 23:12:41 +10:00
Lorenc Pekaj
28050c0aa6 add /rpmode as /passive alternative 2018-09-25 14:00:37 +10:00
Lorenc Pekaj
039452310d move garage code to module 2018-09-25 13:58:21 +10:00
Lorenc Pekaj
a6a7f00c52 check if player is over slot limit before buying premium home 2018-09-25 13:32:52 +10:00
Lorenc Pekaj
06fd6b742b fix /reconnectchuff 2018-09-25 13:32:36 +10:00
Lorenc Pekaj
5231ca0ac0 update changelog 2018-09-25 12:49:00 +10:00
Steven Howard
f08fcea3d7 Merged in admin-hitmarker (pull request #20)
adds hitmarker while you are spectating a player
2018-09-25 02:44:06 +00:00
Lorenc Pekaj
27e8f154d6 Merged realestate_listings into master 2018-09-25 12:42:45 +10:00
Lorenc Pekaj
57a1db8cd8 move command to /estate for now 2018-09-25 12:42:20 +10:00
Steven Howard
78f3a89a95 cleaning and updating callbacks 2018-09-24 22:21:20 +01:00
Steven Howard
6f562c223c adds htimarker while you are spectating a player 2018-09-24 19:20:23 +01:00
Lorenc Pekaj
2bb7604548 Add callback OnHouseOwnerChange 2018-09-25 03:46:21 +10:00
Lorenc Pekaj
308ea77b57 create listing ingame and delete listing ingame functionality 2018-09-25 02:55:03 +10:00
Lorenc Pekaj
5b51577922 modify schema 2018-09-25 02:54:45 +10:00
Lorenc Pekaj
f49e4a07de check if the home was sold already before filling a purchase 2018-09-25 02:14:10 +10:00
Lorenc Pekaj
96613ed3a0 you can now buy homes directly off /houselistings ... and set a waypoint to the home that is of interest 2018-09-25 02:06:53 +10:00
Lorenc Pekaj
dff542823a begin real estate listings 2018-09-25 00:35:46 +10:00
Lorenc Pekaj
549427500c hide passive mode in paintball 2018-09-25 00:33:14 +10:00
Lorenc Pekaj
f22566c215 make player passive if they leave jail 2018-09-24 23:28:47 +10:00
Lorenc Pekaj
20487e12af 15% success rate + whatever percentage of cops are online 2018-09-24 23:19:23 +10:00
Lorenc Pekaj
6810b321df do not create a passive mode label for LEO 2018-09-24 23:08:39 +10:00
Lorenc Pekaj
d85c80f750 Stephanie message for passive mode and if you get wanted, automatically reset passive mode 2018-09-24 23:03:37 +10:00
Lorenc Pekaj
0009a4f069 adds GPS_SetPlayerWaypoint 2018-09-24 22:51:17 +10:00
Lorenc Pekaj
7ea9dff71c passive mode improvements 2018-09-24 22:51:05 +10:00
Lorenc Pekaj
5ac0d50d1c make the help dialogs look nicer 2018-09-24 18:26:38 +10:00
Lorenc Pekaj
11b0621e13 adds passive mode, readjust settings (see updates.txt) 2018-09-24 18:18:07 +10:00
Lorenc Pekaj
69545b23b2 * fixes /v bring bug
* adds different colors in /viplist
* adds /goto detection for players that are spectating
2018-09-24 11:29:48 +10:00
Lorenc Pekaj
ecf8c06fa2 add player_settings.pwn description 2018-09-23 15:03:37 +10:00
Lorenc Pekaj
bf1e914536 make variables private for player settings 2018-09-23 14:59:55 +10:00
Lorenc Pekaj
aa98e5b77c - move player settings into seperate module
- add OnPlayerLogin (hookable)
- add setting to disable auto weapon pickup
2018-09-23 14:56:34 +10:00
Lorenc Pekaj
440d82de1c move ammunation, ig guard, vip to /cnr 2018-09-23 14:55:47 +10:00
Lorenc Pekaj
ccfbc7ec43 move vip, ig guard, ammunation to /cnr/ and disable pool temporarily 2018-09-23 14:55:13 +10:00
Lorenc Pekaj
4dc801ac0a increased bail, decreased bc chance if there are >15 players + <20% cops 2018-09-21 21:59:44 +10:00
Lorenc Pekaj
755f9c7307 address issue with rdm 2018-09-20 21:36:16 +10:00
Lorenc Pekaj
af8e995be3 break cuff reduced to 35% success, but if it is successful theres a 6 sec delay between another arrest 2018-09-20 19:32:27 +10:00
Lorenc Pekaj
345c6938e7 fix kovas table and hide help dialog when u get removed 2018-09-20 19:32:01 +10:00
Lorenc Pekaj
bef383afd9 disable aimbot (6) detection 2018-09-20 19:31:42 +10:00
Lorenc Pekaj
64106e4748 cops get paid randomly 350 for every cuff broken by a user over 1 2018-09-20 08:57:45 +10:00
Lorenc Pekaj
39228157bc add stev and kova's pool tables 2018-09-20 08:57:20 +10:00
Lorenc Pekaj
6fa16ab50d remove test command on the traindriver minijob 2018-09-20 00:25:15 +10:00
Lorenc Pekaj
9c139f24af code error fix with pool 2018-09-19 23:04:08 +10:00
Lorenc Pekaj
99903baeb0 pool balls shot will not stop during movement 2018-09-19 23:01:59 +10:00
Lorenc Pekaj
349c508814 update changelog and set breakcuff success to 50% 2018-09-19 22:58:43 +10:00
Lorenc Pekaj
d20ea0d682 fix meth bug where keys were not responsive 2018-09-19 22:54:57 +10:00
Lorenc Pekaj
875bc6c7b2 train driver fixes 2018-09-19 17:51:10 +10:00
Lorenc Pekaj
ea170efba9 turned out i didnt restart my pc in over a month! gettickcount fix incase it bugs like it did on mine ... on the dedi 2018-09-19 17:50:55 +10:00
Lorenc Pekaj
09b04b1cff add server.pwn as a configuration file 2018-09-19 15:43:05 +10:00
Lorenc Pekaj
b1ab562e69 store gps information in module ... need to investigate a negative tickcount issue 2018-09-19 15:14:04 +10:00
Lorenc Pekaj
46dedc1192 fixes some errors, forgot to save the files lol 2018-09-19 11:25:10 +10:00
Lorenc Pekaj
4b546c9d88 remove lumberjack checkpoints 2018-09-19 11:24:03 +10:00
Lorenc Pekaj
d4bd8124b6 lumberjack in minijobs module ... and update readme 2018-09-19 11:14:18 +10:00
Lorenc Pekaj
8831de493a move fake-kill and car warp code into respective anticheat modules 2018-09-19 10:23:00 +10:00
Lorenc Pekaj
52b7d22ee7 move rapidfire detection and invalid bullet detection into its own ac module 2018-09-19 10:09:14 +10:00
Lorenc Pekaj
3da90fda9a move crowdfund dialog ids to dialog_ids 2018-09-19 09:49:59 +10:00
Lorenc Pekaj
f69bb040d5 add vdealership description 2018-09-19 09:47:53 +10:00
Lorenc Pekaj
4ca207c648 * place vehicle, garage, vehicle dealer, vehicle modification into modules (features/vehicles) 2018-09-19 09:41:56 +10:00
Steven Howard
e035d41206 Merged in bugfixes (pull request #18)
Bugfixes
2018-09-18 21:58:58 +00:00
Steven Howard
46c5b3b3bc addes GetPlayerPos for slapping the player out of the vehicle "/v bring" 2018-09-18 20:44:47 +01:00
Steven Howard
c13bfb4716 kicks the player out of the vehicle when the owner /v bring it. 2018-09-18 20:40:38 +01:00
Steven Howard
e82ab2e4f3 fixes http://forum.sfcnr.com/showthread.php?60150-CIA-blip-is-not-showing-even-though-he-s-already-dealing-damage 2018-09-18 20:16:44 +01:00
Steven Howard
fee1305492 added CIA detection on OnPlayerTakePlayerDamage, fixes vehicle CIA blip issues. 2018-09-18 19:37:52 +01:00
Steven Howard
d6a6e749d8 Merged master into traindriver 2018-09-18 14:20:48 +01:00
Lorenc Pekaj
a5679e5d9d sql error addressed w/ crowdfunds 2018-09-18 07:26:18 +10:00
Steven Howard
023372016f added speed detection when entering the checkpoint (forcing the driver to slow down)
re-worded some help dialogs
fixed the loading passagers messages
2018-09-17 19:03:16 +01:00