Commit Graph

1112 Commits

Author SHA1 Message Date
Damen
e22aa5022b removes passive dialog selection on account creation, adds passive unable to damage vehicles by weapons, adds leos unable to attack innocent vehicles unles they have wanted players alongside them 2018-12-26 01:11:02 -05:00
Stev
0df6f5c686 adds /banlog - admins can search for a ban result from a name. 2018-12-26 00:11:37 +00:00
Stev
b59b5acdd0 fixes mute detection and score detectionf or talking 2018-12-25 23:23:00 +00:00
Stev
25f67e8bdb Merge branch 'fixes' of https://bitbucket.org/lorenc/cnr into fixes 2018-12-25 22:45:36 +00:00
Stev
9278296ee8 hoping the removing business memebers to be resolved. 2018-12-25 22:45:07 +00:00
Crova
67d02b7304 Added fireman command in civilian commands 2018-12-25 22:02:05 +01:00
Stev
99e1c77bb6 code cleaning 2018-12-25 16:35:25 +00:00
Stev
8855e91de7 cleanup 2018-12-25 16:24:09 +00:00
Stev
3504a065d3 reverting the change to fix mute detections. 2018-12-25 16:11:17 +00:00
Crova
afbb67f322 Removes "flying" stairs on Cake's building; http://forum.sfcnr.com/showthread.php?60965-Mapping-BUG 2018-12-25 16:52:22 +01:00
damen
8e2101fad3 adds XP check for firetruck usage 2018-12-25 01:59:13 -05:00
Stev
65fd8ac780 disables spawn protection in pb 2018-12-24 18:22:55 +00:00
Stev
c9464706ef leader detection inside offlinekick 2018-12-23 22:45:15 +00:00
Stev
9b44be62cc co-leaders can use /gang offlinekick 2018-12-23 22:43:43 +00:00
Stev
d1dae5376f fixes /gang offlinekick 2018-12-23 22:11:49 +00:00
Stev
424cb20991 fixes alcatrax checkpoint for mining 2018-12-23 21:11:50 +00:00
Lorenc Pekaj
d2d0bfd8f7 place constants where fit on functions 2018-12-23 17:26:46 +11:00
Lorenc Pekaj
7fe17a317f bug fix with chuff saying random stuff in chat 2018-12-23 12:35:32 +11:00
Lorenc Pekaj
fdd6f4297a rename cmds to stopask stopreport 2018-12-23 12:35:17 +11:00
Lorenc Pekaj
803af66803 move fps code to module 2018-12-23 12:16:55 +11:00
Lorenc Pekaj
98231fdb58 rearrange feature specific modules into appropriate directories 2018-12-23 11:41:04 +11:00
Lorenc Pekaj
50bd48b688 moviemode in its own module 2018-12-23 11:14:28 +11:00
Lorenc Pekaj
4b79a5eba3 move more code associated with vip to its own appropriate modules 2018-12-23 10:58:03 +11:00
Lorenc Pekaj
f98f25ba8c config.php helpers 2018-12-23 10:29:27 +11:00
Lorenc Pekaj
f9c6250764 twitter command moved to /commands folder 2018-12-23 10:24:17 +11:00
Lorenc Pekaj
02ac789629 move /changes to command module 2018-12-23 10:20:13 +11:00
Lorenc Pekaj
4cdfb5fd24 move arrest functions to module 2018-12-23 10:19:38 +11:00
Lorenc Pekaj
08e25e4a5b add server rule setting in config.pwn 2018-12-23 10:13:49 +11:00
Lorenc Pekaj
49d646048b automatically check for inactive stocks at the end of a game day 2018-12-23 09:56:48 +11:00
Lorenc Pekaj
dc699f5523 no wanted level is obtained when entering a gang vehicle (cop maverick) - stev 2018-12-23 01:08:38 +11:00
Lorenc Pekaj
2dada2721c help dialog when purchasing a vehicle only shows if it's your first car. 2018-12-23 01:07:28 +11:00
Lorenc Pekaj
671f66f0b8 gang offline kick 2018-12-23 01:05:23 +11:00
Lorenc Pekaj
de8cca84be moving admins cmd's into _admin.pwn 2018-12-23 00:56:55 +11:00
Lorenc Pekaj
abe07e8be3 passive players with vehicles, can't do damage to others (stev) 2018-12-23 00:47:10 +11:00
Lorenc Pekaj
8d25432f6e made a start on auth modulization but WIP 2018-12-23 00:06:42 +11:00
Lorenc Pekaj
c0ecf96158 move discord commands / functionality to cnr/discord/ 2018-12-22 23:53:42 +11:00
Lorenc Pekaj
68ca399410 move cop chat into cop/cop_chat.pwn 2018-12-22 23:36:05 +11:00
Lorenc Pekaj
04af1f585e begin modulizing cop features in directory features/cop/ 2018-12-22 23:22:29 +11:00
Lorenc Pekaj
e6996d4bb0 passive mode (and spawn protection) placed in passive_mode.pwn 2018-12-22 23:08:20 +11:00
Lorenc Pekaj
1736bfd849 move turf function into its module 2018-12-22 22:50:21 +11:00
Lorenc Pekaj
82c1d0e1b5 move c4 and jail/alcatraz data into its own modules c4.pwn and jail.pwn 2018-12-22 22:48:58 +11:00
Lorenc Pekaj
a41f69316e move random hits into its own module 2018-12-22 22:13:57 +11:00
Lorenc Pekaj
641cc82753 move some more vip code into appropriate modules 2018-12-22 22:08:05 +11:00
Lorenc Pekaj
2f793c7a89 move redeem vip code into its own module 2018-12-22 22:01:10 +11:00
Lorenc Pekaj
cdbf5ae2b2 add christmas module (togglable... like ) 2018-12-22 21:26:52 +11:00
Lorenc Pekaj
9f82258469 add player objects 2018-12-18 21:06:13 +11:00
Lorenc Pekaj
8e3b97eb4d alcatraz fixes 2018-12-18 21:06:04 +11:00
Lorenc Pekaj
87468b5e9e add custom physics module to \irresistible\ 2018-12-12 22:51:49 +11:00
Lorenc Pekaj
a012c0268a move database schemas into migrations folder aka config/migrations/ 2018-12-12 21:38:35 +11:00
Lorenc Pekaj
c5d887bf06 modify header of script to use simple names/aliases 2018-12-12 19:21:57 +11:00
Lorenc Pekaj
c6fdc1546b mugger pays if you /rob 2018-12-09 23:25:35 +11:00
Lorenc Pekaj
6166c34dd7 increase trucking pay 2018-12-09 00:50:13 +11:00
Lorenc Pekaj
b1735de8b1 remove train driver minijob 2018-12-09 00:46:11 +11:00
Lorenc Pekaj
4fd6abb3e6 nerf fireman pay a bit 2018-12-09 00:05:09 +11:00
Lorenc Pekaj
0d78b9ae91 add milky's sewer 2018-12-08 23:39:58 +11:00
Steven Howard
309945b6de Merged in bugs (pull request #35)
Bugs
2018-12-04 01:04:01 +00:00
Lorenc Pekaj
23d8a3b4f9 50% of donated capital to stock is used instead of 75% 2018-12-04 00:17:48 +11:00
Lorenc Pekaj
41b68256b8 cleanup 2018-12-04 00:09:08 +11:00
Lorenc Pekaj
8feb261284 bruteforce / breakin automatic when you enter a house 2018-12-04 00:04:12 +11:00
Lorenc Pekaj
395bd7c86f press F to pickup furniture 2018-12-03 23:22:27 +11:00
Lorenc Pekaj
9e9beef18c burglar modulized 2018-12-03 22:15:41 +11:00
Steven Howard
f8e6a45cfe cannon doesn't reset health and weapons now.
fixes http://forum.sfcnr.com/showthread.php?59234-Orbital-canon
2018-12-02 21:16:09 +00:00
Steven Howard
bc008c3578 should fix the nametag despawning
http://forum.sfcnr.com/showthread.php?60956-nametags-off-doesn-t-keeps-deactivating
2018-12-02 17:19:39 +00:00
Lorenc Pekaj
5ad37f9830 add command to force stocks to be inactive 2018-12-02 22:18:16 +11:00
Lorenc Pekaj
666bd93163 change facility text object 2018-12-02 14:48:12 +11:00
Steven Howard
77a152d929 moving MAX_WANTED_LVL into the correct place 2018-12-01 23:20:56 +00:00
Steven Howard
a5ebc11274 moves ban codes into _admin.pwn 2018-12-01 23:17:05 +00:00
Steven Howard
1d4d736d5f admin on duty cannot obtain xp / score from killing 2018-12-01 22:46:40 +00:00
Steven Howard
ae481b1e81 changed otto cars to wangs cars in gps 2018-12-01 22:33:36 +00:00
Steven Howard
b5160ede22 fixes wanted messages format 2018-12-01 22:27:42 +00:00
Steven Howard
9ada0d5400 adds another gps location for ammnation 2018-12-01 21:56:33 +00:00
Steven Howard
fc520ac39b fixes vehicle dealership vehicle spawns
http://forum.sfcnr.com/showthread.php?61472-Vehicle-Dealership-Spawn
2018-11-28 20:24:18 +00:00
Lorenc Pekaj
11e1a9088d fix class bug and inactive gates/biz 2018-11-25 14:39:52 +11:00
Lorenc Pekaj
f1f487a1b8 play cheer noise on hardpoint payout 2018-11-24 05:26:27 +11:00
Lorenc Pekaj
e520129da2 spawn protection fix 2018-11-24 05:22:32 +11:00
Lorenc Pekaj
ce3232c37f visage apartment object removals 2018-11-24 04:59:48 +11:00
Lorenc Pekaj
5351647f95 remove players that are removed from their vehicle 2018-11-24 04:59:38 +11:00
Lorenc Pekaj
455b728258 fix spawn bug with infinite health + allow vip plat to have 2 jobs 2018-11-24 04:15:37 +11:00
Lorenc Pekaj
688d5b9a3f remove ircpm from cmd list 2018-11-24 03:58:41 +11:00
Lorenc Pekaj
717f38f073 move constant code to modules 2018-11-24 03:51:27 +11:00
Lorenc Pekaj
ebbfcc59e7 move fireman to its own module and introduce more police skins 2018-11-24 03:47:20 +11:00
Lorenc Pekaj
cc621872c4 remove paramedic and make specific items a minijob (e.g healing in truck/spraycan) 2018-11-24 03:03:45 +11:00
Lorenc Pekaj
27cfffbd77 replace a few criminal jobs with mugger 2018-11-24 02:41:15 +11:00
Steven Howard
5b3b3e4af3 Merged in bugs (pull request #34)
fixes a critical bug with hardpoints, it would restore players health everytime they enter zone
2018-11-22 15:32:36 +00:00
Lorenc Pekaj
fc5d8d086e undercover acc and object update 2018-11-23 01:57:25 +11:00
Steven Howard
633eaa19c8 fixes a critical bug with hardpoints, it would restore players health everytime they enter zone 2018-11-21 21:07:26 +00:00
Lorenc Pekaj
158890715f turf location relocations 2018-11-18 22:41:56 +11:00
Lorenc Pekaj
951a348c44 do not credit free vips assets 2018-11-18 22:41:41 +11:00
Lorenc Pekaj
1f3c3f4f8c add more turfs, number on turfs too (https://forum.sa-mp.com/showthread.php?t=649230), auto disable spawn protection on enter hardpoint 2018-11-18 20:57:12 +11:00
Lorenc Pekaj
42b7c5e87c increase gang vehicle limit, decrease gang vehicle spawn time to 3 min 2018-11-18 20:56:28 +11:00
Lorenc Pekaj
36fa43ff1e aod not counted as a person that can takeover 2018-11-15 01:11:44 +11:00
Lorenc Pekaj
fd8d9655db fix race issue with selecting new leader 2018-11-13 16:06:14 +11:00
Lorenc Pekaj
81f3e5a768 alert passive player he cannot pick up dropped weapons 2018-11-13 16:05:58 +11:00
Lorenc Pekaj
5f12c4a15e force sale the inactive player's stocks 2018-11-11 12:58:57 +11:00
Lorenc Pekaj
8a94df6036 alcatraz fix 2018-11-11 12:42:42 +11:00
Lorenc Pekaj
6db949a51f reduce hardpoint pay 25% 2018-11-11 12:38:26 +11:00
Lorenc Pekaj
99f98a2101 raise max market cap on stocks 2018-11-11 12:29:41 +11:00
Steven Howard
50567719f1 Merged in bugs (pull request #33)
Bugs
2018-11-10 16:21:40 +00:00
Steven Howard
d5236f4bb8 pilot difficulty "hard" should only give wanted level. 2018-11-10 11:32:01 +00:00
Steven Howard
1694d90a14 business production dialogue addiction of bank balance 2018-11-10 11:30:22 +00:00
Steven Howard
1815e6323b fireman cannot use /loc anymore 2018-11-10 11:24:44 +00:00
Steven Howard
8f6621524b playing hitmarker sound when player is spectating 2018-11-10 10:17:08 +00:00
Steven Howard
7197c3289b passive players will not be able to pick up weapon, ammo and money drops. 2018-11-10 09:56:47 +00:00
Lorenc Pekaj
43974bf30c cannon will kill people on a hill too (up to 20 m below target area) 2018-11-10 19:39:22 +11:00
Lorenc Pekaj
2f6202a4a0 maximum player can drop is $25K 2018-11-10 18:02:57 +11:00
Lorenc Pekaj
821c034e7d fix race outrun sync 2018-11-10 18:00:10 +11:00
Lorenc Pekaj
810af12771 use average player count for potential winnings and show map icon 2018-11-10 17:57:54 +11:00
Lorenc Pekaj
f406fb5139 veh dealership mcap increase 2018-11-10 14:46:05 +11:00
Lorenc Pekaj
dfbd7eb780 fix gang vehicles 2018-11-10 14:44:23 +11:00
Lorenc Pekaj
67e0d99db7 hardpoint 2018-11-10 14:44:16 +11:00
Steven Howard
ddd1cf38e8 jaillist fix 2018-11-09 19:37:08 +00:00
Steven Howard
f3544de066 cutting spectation when player dies has been removed. 2018-11-09 19:36:52 +00:00
Steven Howard
632ddd1e2c wanted level when killing in duel change 2018-11-09 19:18:14 +00:00
Lorenc Pekaj
8f8c7bfe0f initial hardpoint beta 2018-11-10 03:02:14 +11:00
Lorenc Pekaj
32e8e45d4b fix possible shares issue 2018-11-09 18:52:48 +11:00
Lorenc Pekaj
7dc93e5023 fix reward point issue 2018-11-09 18:50:58 +11:00
Lorenc Pekaj
d83e0c3120 modulize the rewards point system 2018-11-09 18:33:38 +11:00
Lorenc Pekaj
da98f1c20a address issue with bank hiest available in random shops 2018-11-09 17:49:38 +11:00
Lorenc Pekaj
9e70458953 allow only gang leaders to mod gang vehicles 2018-11-09 15:46:03 +11:00
Lorenc Pekaj
6a0ab57505 prevent occupied gang vehicle from being spawned 2018-11-09 15:45:07 +11:00
Lorenc Pekaj
65dd9d68d0 remove debug statement 2018-11-09 15:32:29 +11:00
Lorenc Pekaj
286d6b6332 remove pool debug msg 2018-11-09 15:31:29 +11:00
Lorenc Pekaj
d269546bbf fix visage apartment ownership transfer 2018-11-09 15:31:02 +11:00
Lorenc Pekaj
13331cc67d fix styling with vd dialog 2018-11-09 15:28:35 +11:00
Lorenc Pekaj
78addfe4e2 increase vehicle dealership price 2018-11-09 15:16:50 +11:00
Lorenc Pekaj
61519f8370 little cleanup 2018-11-09 15:16:41 +11:00
Lorenc Pekaj
732d7a7e92 add buying/selling/mod updating/spawning vehicle in facility 2018-11-09 15:04:38 +11:00
Lorenc Pekaj
8156e1749e add mechanic into the facilities with a checkpoint 2018-11-08 22:57:02 +11:00
Lorenc Pekaj
3947176508 init 2018-11-08 21:34:54 +11:00
Lorenc Pekaj
2edbc681b6 delete useless stock module 2018-11-08 21:09:31 +11:00
Lorenc Pekaj
5987d60fff use physics_dynamic.inc for pool (https://github.com/zeelorenc/Object-Physics) - support multiple interiors 2018-11-08 18:20:40 +11:00
Lorenc Pekaj
7b4cd776de update $ET description 2018-11-08 12:11:50 +11:00
Lorenc Pekaj
ec431ad43a add pilot stock 2018-11-07 19:51:46 +11:00
Lorenc Pekaj
5ed2066e42 fix season rank in stats 2018-11-07 19:24:24 +11:00
Lorenc Pekaj
aafb6f4e33 undercover account ids updated 2018-11-07 19:24:14 +11:00
Lorenc Pekaj
43e5b8bd7e users can now donate to stocks to prop them out (25% taxed) 2018-11-07 19:24:00 +11:00
Lorenc Pekaj
d9ce70f323 if max shares are increased from the IPO, it will be factored into the price 2018-11-07 18:10:36 +11:00
Lorenc Pekaj
78a597d606 fix market cap issue 2018-11-07 12:21:47 +11:00
Lorenc Pekaj
c4542f41aa Increase dividends for casino and government by a bit 2018-11-07 12:15:30 +11:00
Lorenc Pekaj
ea6dce5a41 show shares in sell orders (/shares) and cancel thru that command 2018-11-07 12:07:12 +11:00
Lorenc Pekaj
d4c03f4119 use huge string for shareholders 2018-11-06 15:40:20 +11:00
Lorenc Pekaj
349a8e4a27 show shareholders of stock 2018-11-06 15:24:24 +11:00
Lorenc Pekaj
caeae457ac reduce the floor of stock prices significantly 2018-11-06 14:02:11 +11:00
Lorenc Pekaj
6a297cd163 increase casino shareholding earnings by a bit ... and exaggerate their price factor for every 100k earnings 2018-11-06 13:52:23 +11:00
Lorenc Pekaj
54b05cf011 do not place random hits on passive players 2018-11-06 13:40:00 +11:00
Lorenc Pekaj
1139f4e92e disable /sync in passive mode 2018-11-05 10:49:23 +11:00
Lorenc Pekaj
b09f52b4fb fix potential market issues with selling while not logged in 2018-11-05 10:33:37 +11:00
Lorenc Pekaj
baed9eb28c Add government and casino stocks. 2018-11-05 10:23:38 +11:00
Lorenc Pekaj
f503224775 fireworks and explosive rounds available at supa/ammunation 2018-11-04 19:24:55 +11:00
Lorenc Pekaj
c836d256b1 server maintainers ignored in kickall 2018-11-03 16:26:40 +11:00
Lorenc Pekaj
e2837265a9 Pawn store stock for burglars 2018-11-03 16:21:56 +11:00
Lorenc Pekaj
6e54f16ed6 add veh dealership, trucking company, cluckin bell stocks 2018-11-03 16:06:58 +11:00
Lorenc Pekaj
89bc99d7d5 remove ploughs 2018-11-03 16:04:28 +11:00
Lorenc Pekaj
75e4ead544 add ammunation company and fix a lot of stock market related bugs 2018-11-02 09:57:08 +11:00
Lorenc Pekaj
b1da73f99f prefix fix for number_format 2018-11-02 09:52:23 +11:00
Lorenc Pekaj
3fcf35fc9a fix potential mining bug that allowed mining two rocks at a time? 2018-11-02 09:52:13 +11:00
Lorenc Pekaj
cb6c7475a5 drop only 10% of players wealth 2018-11-01 21:58:24 +11:00
Lorenc Pekaj
c964914a97 Add ammu-nation stock (reliant on ammu sales) 2018-11-01 21:55:21 +11:00
Lorenc Pekaj
e97bcd2c76 Merged master into stockmarket 2018-11-01 17:50:07 +11:00
Lorenc Pekaj
f3afaa9af4 remove some useless hq 2018-11-01 17:49:29 +11:00
Lorenc Pekaj
469e8ac865 stock market edits 2018-11-01 17:48:25 +11:00
Lorenc Pekaj
90cdbd9816 add trade log 2018-10-31 20:05:47 +11:00
Lorenc Pekaj
7645f3f8e8 create two reports by default when a new company is made 2018-10-31 19:04:59 +11:00
Lorenc Pekaj
8ad01c0b0f crushing ores at alca contributes to mining company 2018-10-31 19:03:24 +11:00
Lorenc Pekaj
2ad6e41dd8 add trading fee 2018-10-31 19:01:35 +11:00
Lorenc Pekaj
4cb9be95fb fix some dividend pool issue 2018-10-31 18:34:50 +11:00
Lorenc Pekaj
ae01993db4 - add sell feature
- add basic pricing mechanism
2018-10-31 18:19:18 +11:00
Lorenc Pekaj
c616c94359 dividend payout implementation 2018-10-31 09:42:10 +11:00
Lorenc Pekaj
ee1e436258 remove debug 2018-10-29 02:13:47 +11:00
Lorenc Pekaj
d03591a9a2 move bot attack code into its own module 2018-10-29 02:12:09 +11:00
Lorenc Pekaj
e74c80e5c5 bot-attack-module 2018-10-29 01:43:35 +11:00
Lorenc Pekaj
68fc7ad263 add mining stock 2018-10-28 22:34:48 +11:00
Lorenc Pekaj
1d99d05bcb add buy slip functionality with initial market maker ... work on /shares 2018-10-26 11:44:45 +11:00
Lorenc Pekaj
8d8fdc1392 use float for prices, reduce data redundancy 2018-10-26 04:58:12 +11:00
Lorenc Pekaj
b1847fffdf begin base for price of stocks 2018-10-25 08:32:18 +11:00
Lorenc Pekaj
8777a286a0 begin stock market 2018-10-25 01:19:48 +11:00
Lorenc Pekaj
de6b8849f0 vip note user id fix 2018-10-24 22:07:28 +11:00
Lorenc Pekaj
5fd32db86e fix color issue w vip 2018-10-23 00:44:57 +11:00
Lorenc Pekaj
ce81b6917c edit vip description 2018-10-22 23:44:59 +11:00
Lorenc Pekaj
e3a0f389fd adjust /vip 2018-10-22 22:35:55 +11:00
Lorenc Pekaj
2901c315c5 move some vipgun checks so that armour has them 2018-10-22 21:51:32 +11:00
Lorenc Pekaj
050ba05cf2 legacy VIP system implement 2018-10-22 21:50:11 +11:00
Lorenc Pekaj
b80202334f cannot use bank terminal if bank has been robbed 2018-10-22 19:06:18 +11:00
Lorenc Pekaj
9800b8f007 remove help dialog when a player spawns ... fix issue with supa not hiding help dialog 2018-10-22 18:33:10 +11:00
Lorenc Pekaj
a0016cd039 fix biz prod bug... http://forum.sfcnr.com/showthread.php?60820-b-production 2018-10-22 17:29:38 +11:00
Lorenc Pekaj
9626ab84dd fix class selection textdraw issue 2018-10-22 17:11:12 +11:00
Lorenc Pekaj
45b73b7311 index out of bounds fix for npcs 2018-10-22 00:35:40 +11:00
Lorenc Pekaj
a64c916637 prevent NPCs from continuing with OnPlayerSpawn 2018-10-22 00:32:10 +11:00
Lorenc Pekaj
98941bbc7f move furniture code to furniture module 2018-10-17 04:34:29 +11:00
Lorenc Pekaj
13ddbb675c move load apt code to apartment module 2018-10-17 04:31:18 +11:00
Lorenc Pekaj
2a90d06d90 move some weapon drop modules 2018-10-17 04:28:47 +11:00
Lorenc Pekaj
0836381de9 update wanted level module description 2018-10-17 04:24:32 +11:00
Lorenc Pekaj
23e21bc109 add car particle spam and player pickup spam into anticheat modules 2018-10-17 04:20:16 +11:00
Lorenc Pekaj
857cff5e7e move hotel da novic into its own module 2018-10-17 03:58:05 +11:00
Lorenc Pekaj
f6d9d7c683 fix static includes 2018-10-17 03:34:59 +11:00
Lorenc Pekaj
32746cdd20 module for static map icons 2018-10-17 03:33:27 +11:00
Lorenc Pekaj
eda738d00e move more server settings to config/server.pwn 2018-10-17 03:28:19 +11:00
Lorenc Pekaj
3955ed0982 move gate code to gate module 2018-10-17 03:22:15 +11:00
Lorenc Pekaj
84c6e464f5 move class information into classes.pwn 2018-10-17 03:20:47 +11:00
Lorenc Pekaj
e6b7d0ec23 moved more irresisitble guard code and gang code to modules 2018-10-17 02:59:36 +11:00
Lorenc Pekaj
df49d0abf7 move gate system into module 2018-10-17 02:43:33 +11:00
Lorenc Pekaj
a9e9ac28b2 move race into its own module 2018-10-17 02:29:16 +11:00
Lorenc Pekaj
86a501d4fb move more gang code into their modules 2018-10-17 02:20:20 +11:00
Lorenc Pekaj
c7a50b8ae7 move progress bars into appropriate modules 2018-10-17 01:52:12 +11:00
Lorenc Pekaj
4eb8095f34 notify player if his weed gets stolen 2018-10-17 00:57:16 +11:00
Lorenc Pekaj
13e687fdef improve raising of weed ... no more creating near other weed ... add vip increased planting limits 2018-10-17 00:53:46 +11:00
Lorenc Pekaj
d474159c05 give wanted when they plant 2018-10-16 21:38:26 +11:00
Lorenc Pekaj
62fbc7f1c2 increase drug house and militia pay 2018-10-16 21:26:19 +11:00
Lorenc Pekaj
b49b074eb4 adjust offset for weed plant 2018-10-16 21:25:21 +11:00
Lorenc Pekaj
4ec8229157 adds a new weed system, where you buy seeds from supa ... then /weed plant. LALT to collect the plant 2018-10-16 21:02:36 +11:00
Lorenc Pekaj
cc05a872a8 add roadblocks module 2018-10-16 01:54:39 +11:00
Lorenc Pekaj
1a24034b05 damage feed object only shown if player is not in a vehicle 2018-10-16 01:39:08 +11:00
Lorenc Pekaj
3c477431dc explosive round key modified 2018-10-16 01:38:02 +11:00
Lorenc Pekaj
139b335ba3 world/int check ... remove vip for /dm 2018-10-15 21:31:45 +11:00
Lorenc Pekaj
9fd63b70c1 2000 per facility spawn 2018-10-15 21:28:26 +11:00
Lorenc Pekaj
60df8738df sync refilled health bugfix 2018-10-15 21:28:05 +11:00
Lorenc Pekaj
e054a62b22 show player money bags that are intentionally dropped 2018-10-15 19:50:58 +11:00
Lorenc Pekaj
c41eb323cd fix bug with kicked paintball players droppin money 2018-10-15 19:49:48 +11:00
Lorenc Pekaj
b2c10884e8 bug fixes with sync 2018-10-15 18:11:20 +11:00
Lorenc Pekaj
9c743d49fb fix critical issue with ic buy 2018-10-15 17:08:52 +11:00
Lorenc Pekaj
b43c12fa3b string overflow on stats dialog fixed 2018-10-15 16:52:21 +11:00
Lorenc Pekaj
b11ea31fb5 type ALL/MAX in bank depo/withdraw/ic buy and it will do the maximum amount possible. IC sold goes straight to your bank account. 2018-10-15 16:46:26 +11:00
Lorenc Pekaj
ee20816ebf lil cleanup 2018-10-15 16:15:40 +11:00
Lorenc Pekaj
0d12721a24 3 minute passive mode 2018-10-15 16:15:33 +11:00
Lorenc Pekaj
c5a62d5eaa add /moneybags ... player can create >25k announced money bags around the map. passive players cannot see pickups ... only their own money drops 2018-10-15 16:15:18 +11:00
Lorenc Pekaj
08474974bf wanted level in module and hooked functions (completely server sided). You can use GetPlayerWantedLevel, SetPlayerWantedLevel or GivePlayerWantedLevel 2018-10-15 15:19:36 +11:00
Lorenc Pekaj
68a890d747 no keystate for /s ... fixed so previous weapons are given back ... added cooldown as well 2018-10-15 15:18:42 +11:00
Steven Howard
b9edc6add6 Merged in sync (pull request #32)
Sync
2018-10-15 03:28:33 +00:00
Lorenc Pekaj
a1ed07c8e3 max 10 users per ip 2018-10-15 14:27:59 +11:00
Lorenc Pekaj
5fe4f61740 fix random armour drop 2018-10-14 23:43:58 +11:00
Steven Howard
f1ee0e9968 adds wanted levels to sync 2018-10-14 13:02:49 +01:00
Lorenc Pekaj
0009c38ffc Type MAX/ALL in the deposit/withdraw to all 2018-10-14 20:15:28 +11:00
Steven Howard
ddbab0f803 Merged master into sync 2018-10-14 09:56:22 +01:00
Steven Howard
2dc9ea5335 vehicle jacking your own vehicle fix 2018-10-14 09:53:49 +01:00
Steven Howard
6dc23cb749 sync system
/s - /sync or ( SPACE & RIGHT CLICK )
2018-10-14 09:51:07 +01:00
Lorenc Pekaj
7c325bb6eb money dropped in pb 2018-10-14 19:39:53 +11:00
Lorenc Pekaj
17ee715b56 bobby pin reduction 2018-10-14 19:28:29 +11:00
Lorenc Pekaj
f0b62b37ab returning all of the changes i accidentally removed :( 2018-10-14 17:28:52 +11:00
Lorenc Pekaj
75fb809124 fix atm in facility issue 2018-10-14 16:24:58 +11:00
Lorenc Pekaj
02974924f4 Merge branch 'moneygrub' of ssh://bitbucket.org/lorenc/cnr into moneygrub 2018-10-14 16:12:24 +11:00
Lorenc Pekaj
0c467299d4 move dispose weapon to weapon_drop 2018-10-14 16:12:00 +11:00
Lorenc Pekaj
749f52ca73 /dropmoney, /dropweapon ... 1% chance drop of armour when you die if ur dm lvl over 50 2018-10-14 16:10:57 +11:00
Lorenc Pekaj
1cfe7cffe6 weed dealers, 10g limit ... dealers can use it 2018-10-14 16:10:06 +11:00
Lorenc Pekaj
31466a89d7 Merged master into moneygrub 2018-10-14 14:07:36 +11:00
Lorenc Pekaj
9ed5221550 destroy damage object if it exists 2018-10-14 13:38:34 +11:00
Steven Howard
18ff02951b hidden syncing for the time being 2018-10-13 17:06:06 +01:00
Steven Howard
7d0d72260b global object replacement 2018-10-13 17:04:32 +01:00
Steven Howard
3fe2638959 textdraw changes 2018-10-13 15:44:04 +01:00
Steven Howard
76d2629b0a starting sync player. 2018-10-13 15:38:02 +01:00
Steven Howard
aeabfdcdf5 removed unused function 2018-10-13 14:16:59 +01:00
Steven Howard
ad8a8b9385 removes invalid defines 2018-10-13 14:15:48 +01:00
Steven Howard
c15ea9ef49 adds /viewpolicechat for level 5 admins 2018-10-13 14:11:21 +01:00
Steven Howard
e46ece5ace removes invalid vehicles
http://forum.sfcnr.com/showthread.php?60671-Infernus-placements
2018-10-13 14:07:39 +01:00
Lorenc Pekaj
763689448f damage feed improvements 2018-10-13 23:21:05 +11:00
Steven Howard
0e080fcd7c 3d text is attached to damaged player
lifted the object above player name
2018-10-13 11:44:55 +01:00
Steven Howard
3c4bab5596 Merge branch 'damage_feed' of https://bitbucket.org/lorenc/cnr into damage_feed 2018-10-13 11:18:09 +01:00
Steven Howard
da428e56b6 cleaning up invalid prints and comments 2018-10-13 11:15:35 +01:00
Steven Howard
bcff7701ab Merged master into damage_feed 2018-10-13 11:13:23 +01:00
Steven Howard
3f96fe199b changed from object to a SetPlayerAttachedObject 2018-10-13 11:12:08 +01:00
Steven Howard
dd9a68eaa4 adds a object above the players head according to what damage has been given (armour and/or health)
Inspired by Shini
2018-10-12 23:04:18 +01:00
Steven Howard
52146a04d2 attachs a 3D text label where the player damaged a player (known from dming) 2018-10-12 22:13:07 +01:00
Steven Howard
b74ab57bdf removes vip requirement to change hitmarker sounds 2018-10-12 17:04:19 +01:00
Steven Howard
bdb45e28d8 moves hitmarkersound into damage_feed.pwn
cleanup
2018-10-12 17:00:44 +01:00
Steven Howard
0250296b2b changes textdraw colors 2018-10-12 15:59:20 +01:00
Lorenc Pekaj
c45e66e6bb fix admin spec issue 2018-10-13 01:12:47 +11:00
Lorenc Pekaj
b73f2bb9e4 replace hitmarker with damage feed 2018-10-13 01:12:27 +11:00
Steven Howard
7fde0d019e player change 2018-10-12 15:07:26 +01:00
Lorenc Pekaj
23fc8aa608 spectate check for player 2018-10-13 00:49:38 +11:00
Steven Howard
44f16fcc3d changing targetid 2018-10-12 11:56:56 +01:00
Lorenc Pekaj
b182e49b2b drop money on death 2018-10-12 21:39:20 +11:00
Lorenc Pekaj
f5e1a4565c moviemode xp tds moved to experience.pwn 2018-10-12 20:26:35 +11:00
Lorenc Pekaj
ecf10abe5c new rank system is largely based off the new xp system 2018-10-12 20:01:32 +11:00
Lorenc Pekaj
1838bf5b50 move rank to experience.pwn 2018-10-12 19:34:02 +11:00
Lorenc Pekaj
fa0e42c018 explode at vehicle centre 2018-10-12 16:43:16 +11:00
Steven Howard
f179841d38 changed timer durations based on ticks 2018-10-11 16:44:11 +01:00
Steven Howard
110458523d changing functions for given/taken feed 2018-10-11 16:36:56 +01:00
Steven Howard
45dcae630d puching all hitsound configuration into one 2018-10-11 14:35:21 +01:00
Steven Howard
598b0c6fda adding hitmarker textdraw into damage_feed file.
cleanup variables
2018-10-11 14:21:51 +01:00
Steven Howard
a57114f4c1 textdraw placements 2018-10-11 14:06:18 +01:00
Lorenc Pekaj
f4a6e08428 fix issue with players losing their biz checkpoints when someone quits 2018-10-12 00:03:57 +11:00
Lorenc Pekaj
97429cf955 explosive rounds n to activate 2018-10-11 23:22:55 +11:00
Steven Howard
5c635493e7 cleanup 2018-10-11 11:26:41 +01:00
Steven Howard
71dc423e88 added callback to return the damage given/taken 2018-10-11 11:26:08 +01:00
Steven Howard
0405aa45a4 remove invalid defines 2018-10-11 11:13:17 +01:00
Steven Howard
9d3fc9838e moved into features
changed the colors of textdraws
2018-10-11 11:10:16 +01:00
Steven Howard
9fd02514c4 fixing the wrong player index selected for damage. 2018-10-11 10:41:35 +01:00
Steven Howard
0d442f4e78 damage feed changes 2018-10-11 10:37:47 +01:00
Lorenc Pekaj
3ad50aec5e move spike strip in car key to H/CAPSLOCK 2018-10-11 20:24:21 +11:00
Lorenc Pekaj
05cd9b1722 fire system retouched - use /fires ... based off map icons ... no more textdraws 2018-10-11 20:19:30 +11:00
Steven Howard
8f6058b86a starting on damage feed, ideal for dmers 2018-10-11 00:40:49 +01:00
Lorenc Pekaj
8c9330aa6e remove random object 2018-10-10 20:20:18 +11:00
Lorenc Pekaj
25890745af alcatraz fixes 2018-10-10 20:17:42 +11:00
Lorenc Pekaj
d7b68afa01 allow players over level 100 to accrue more xp regardless 2018-10-10 20:15:21 +11:00
Lorenc Pekaj
3524501d76 address issue with player unable to rob chuff ... move progress bar data there 2018-10-10 20:05:55 +11:00
Lorenc Pekaj
cca1f347f1 modulize car jacker 2018-10-10 19:36:08 +11:00
Lorenc Pekaj
cc23d6ced4 modulize fire system 2018-10-10 19:20:25 +11:00
Lorenc Pekaj
ad02b2c08c remove a counter in cluckin bell for ease 2018-10-10 19:04:18 +11:00
Lorenc Pekaj
098d259a5a use aim key to set spike in car ... disabled for air/boat 2018-10-10 19:04:08 +11:00
Lorenc Pekaj
1252bb5d89 move vehicle functions to gta\vehicle_data.pwn 2018-10-10 19:03:48 +11:00
Lorenc Pekaj
17285c5251 potential issue fix with isnotnearplayer 2018-10-10 16:13:45 +11:00
Lorenc Pekaj
3dd5ec63c9 remove XP from registration query 2018-10-10 16:08:42 +11:00
Lorenc Pekaj
889f8bf946 modulize streaks and weapon statistics 2018-10-10 16:05:23 +11:00
Lorenc Pekaj
c652ac40e2 GetPlayerOutsidePos will give you the entrance/house/garage/pos the player is at 2018-10-10 16:05:14 +11:00
Lorenc Pekaj
c3ce372f9f modulize atm system and crime report system 2018-10-10 15:21:11 +11:00
Lorenc Pekaj
7f69b7427f move car mod checker as an anticheat module... move charging for vehicle components in the anticheat money module 2018-10-10 14:59:03 +11:00
Lorenc Pekaj
97d4c8a40a modulize information pickups 2018-10-10 14:50:16 +11:00
Lorenc Pekaj
233b913fe6 modulize bribes 2018-10-10 14:46:38 +11:00
Lorenc Pekaj
f392745ec6 modulize roadblock system 2018-10-10 14:35:08 +11:00
Lorenc Pekaj
2e0d92f2a7 mining minijob modulized 2018-10-10 14:30:35 +11:00
Lorenc Pekaj
4feea47631 remove useless modules ... modulize weapon lockers 2018-10-10 14:08:18 +11:00
Lorenc Pekaj
8afbdb8956 useless to have IsPlayerLorenc ... added a IsPlayerMaintainer function which can be edited in config/server.pwn 2018-10-10 13:51:56 +11:00
Lorenc Pekaj
1a7d8695d2 validate house id and biz id in confirmation dialogs ... update updates.txt 2018-10-10 12:19:18 +11:00
Lorenc Pekaj
3b28c1b30f little bit faster to place the drills now 2018-10-10 12:11:07 +11:00
Lorenc Pekaj
be16355bee make hide from radar last one minute 2018-10-10 12:00:29 +11:00
Lorenc Pekaj
278f3f7c6b add back check to see if player is in vehicle ... for death bug 2018-10-10 11:26:53 +11:00
Steven Howard
f4e603ec85 cleanup 2018-10-09 22:12:54 +01:00
Steven Howard
f0377f3d5c fixes the deadly death bug 2018-10-09 16:04:52 +01:00
Steven Howard
3483bc358b changed some level req values 2018-10-09 14:18:32 +01:00
Steven Howard
07b2d25182 adds stealth mode (hides player from radar)
once player is shot he shows for a short period (like CIA)
2018-10-09 14:15:35 +01:00
Steven Howard
133a5a6079 adds strippers in the LV brothel (for fun) 2018-10-09 13:25:39 +01:00
Steven Howard
a65c2cf9b5 added train missions to database
updated highscores to have train missions
added achievements for train driver aswell
2018-10-09 10:49:11 +01:00
Steven Howard
120c5b09c2 updated pilot sql schematic 2018-10-09 10:13:25 +01:00
Steven Howard
2d1094574c adds a confirmation dialog before selling a business 2018-10-09 10:09:15 +01:00
Steven Howard
9c48bbeebc adds more highscore options meth yielded, pilot missions, trucked cargo, vehicles jacked 2018-10-09 10:01:05 +01:00
Steven Howard
590da61131 addressed mmb for arresting issue
pilot missions are added into achievements and saves in sql
2018-10-09 09:53:55 +01:00
Steven Howard
7f4a463235 adds a confirmation dialog before selling a house 2018-10-09 09:32:26 +01:00
Steven Howard
91bf3157a0 adds a confirmation dialog before selling vehicle modifications 2018-10-09 08:49:53 +01:00
Steven Howard
02f105c5c4 reformatted all dialog id's and ordered them 2018-10-09 08:30:55 +01:00
Lorenc Pekaj
f93b76d4f9 change zero's skin 2018-10-09 11:02:44 +11:00
Lorenc Pekaj
917b687a87 cleanup 2018-10-09 10:41:02 +11:00
Lorenc Pekaj
8c2dd222d2 add toy model preview 2018-10-09 10:33:04 +11:00
Lorenc Pekaj
b755e6ffa1 add /smoke to animlist 2018-10-09 10:26:33 +11:00
Lorenc Pekaj
a4cf751cec add model preview functionality ... makes previewing models before buying seamless 2018-10-09 10:04:42 +11:00
Lorenc Pekaj
066915d7fe update updates.txt ... fix potential issues 2018-10-09 09:05:02 +11:00
Steven Howard
e33c2c3efb adds a option to preview a garage component before buying 2018-10-08 22:41:29 +01:00
Steven Howard
41b8c22061 adds burglary checkpoint and vehicles in other cities LS and LV 2018-10-08 21:47:10 +01:00
Steven Howard
09a8cfe1af change to firefighter into different homes
http://forum.sfcnr.com/showthread.php?48467-Fires-amp-Burglary-system-in-LS-amp-LV
2018-10-08 20:58:49 +01:00
Steven Howard
108fc055a6 adds /smoke into animations 2018-10-08 20:53:05 +01:00
Steven Howard
5f300a6cd2 LEO's can't MMB to taze/cuff/arrest whie they have spawn protection active 2018-10-08 20:26:33 +01:00
Steven Howard
67d59beab3 Merged master into changes 2018-10-08 14:00:14 +01:00
Steven Howard
d1f4ab1ecb reformatted paintball edit dialog
added a chat toggle option to enable/disable pb chat
2018-10-08 13:58:52 +01:00
Steven Howard
0f6e2a18a0 re-worded the attacking turf message 2018-10-08 13:43:40 +01:00
Steven Howard
9187922b28 adds blown jail, blown vaults, hit's completed and fires in /highscore 2018-10-08 13:37:20 +01:00
Steven Howard
4412650371 vehicle dealership spawn location fixes 2018-10-08 13:31:44 +01:00
Steven Howard
b567a476fe Merged master into bug-fixes 2018-10-08 13:20:41 +01:00
Steven Howard
0a236abad7 fixes spawn locations when buying a personal vehicle 2018-10-08 12:53:41 +01:00
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
Lorenc Pekaj
9f81391323 pool issue with exiting table while not even in it, fixed 2018-09-17 18:30:14 +10:00
Lorenc Pekaj
e493eca59e wanted if you aim at a cop 2018-09-17 12:50:38 +10:00
Lorenc Pekaj
39ca88ec1f pool fixes 2018-09-17 12:50:25 +10:00
Lorenc Pekaj
f0f5595a1e Merge branch 'master' of ssh://bitbucket.org/lorenc/cnr 2018-09-17 11:39:14 +10:00