Commit Graph

407 Commits

Author SHA1 Message Date
Lorenc Pekaj
16b12b4610 code cleanup 2019-01-02 02:37:45 +11:00
Lorenc Pekaj
35f9d15e9b move bunch of functions to helper module 2019-01-02 02:17:39 +11:00
Lorenc Pekaj
bd9168eb76 hook remove buildings 2019-01-02 01:13:48 +11:00
Lorenc Pekaj
0ccc26dbe4 move enterable shamal code to module 2019-01-02 01:11:47 +11:00
Lorenc Pekaj
692f58a1f5 move global taxing into its own module 2019-01-02 00:57:26 +11:00
Lorenc Pekaj
f1b41098c3 move house, biz, entrance cp handling into module 2019-01-02 00:51:00 +11:00
Lorenc Pekaj
8fae418c13 remove megaban code ... got removed ages back 2019-01-02 00:39:08 +11:00
Lorenc Pekaj
f700d2051b modulize banning, registration, login 2019-01-02 00:19:17 +11:00
Lorenc Pekaj
58ee7ae052 move help command to commands/cmd_help.pwn 2019-01-01 23:01:24 +11:00
Lorenc Pekaj
304881b123 remove auto-save feature because it is already automatic now 2019-01-01 22:46:57 +11:00
Lorenc Pekaj
bdb6bda5bc * move gang bank, player bank into its own modules
* save player money each time a cash flow occurs (beta)
2019-01-01 22:33:06 +11:00
Lorenc Pekaj
2ed679b149 add OnPlayerMoneyChanged callback 2019-01-01 22:01:46 +11:00
Lorenc Pekaj
fc7aeb2559 move player bugger code as module of anticheat/player_bugger.pwn 2019-01-01 18:38:35 +11:00
Lorenc Pekaj
b19c4be348 move thermal vision fix code as an anticheat module 2019-01-01 18:30:15 +11:00
Lorenc Pekaj
615dd8f7ab move ticket code into its own module cop/ticket.pwn 2019-01-01 18:20:43 +11:00
Lorenc Pekaj
8875c7654c place bail code in cop/bail.pwn 2019-01-01 18:13:42 +11:00
Lorenc Pekaj
99f6370bd1 add /feedback in its own module 2019-01-01 18:05:12 +11:00
Lorenc Pekaj
2610dd9c19 move /nametags into own module 2019-01-01 18:02:25 +11:00
Lorenc Pekaj
9aada6d568 move highscores cmd as module 2019-01-01 17:58:48 +11:00
Lorenc Pekaj
89ba340c28 move player note associated code to vip/player_note.pwn 2019-01-01 17:54:34 +11:00
Lorenc Pekaj
e2c168561e move player togglable textdraw stuff to module 2019-01-01 17:27:00 +11:00
Lorenc Pekaj
31f59fd719 fix kova code 2018-12-29 19:26:34 +11:00
Marin Kovač
027c5ef79c Merged in smallfixes (pull request #42)
Small fixes
2018-12-29 08:13:12 +00:00
Damen DeBerry
c0f98980a6 Merged in knife-removal (pull request #40)
knife-removal
2018-12-29 02:10:24 +00:00
Damen
109b62c8cf removes ability to obtain a knife legitimately within the server 2018-12-28 00:18:04 -05:00
Damen
e5aaee0157 adds score requirement of 50 to send a private message (used to avaoid advertisers) 2018-12-27 12:19:21 -05:00
Lorenc Pekaj
d193e1a10c fix name tags issue 2018-12-27 18:20:46 +11:00
Lorenc Pekaj
d9129b600c fixed issue with player chat message not sending if option enabled 2018-12-27 18:08:12 +11:00
Lorenc Pekaj
1e78bb4481 shortening damens code 2018-12-27 12:57:47 +11:00
Lorenc Pekaj
0be53aab7c making use of TogglePlayerSetting instead of DisablePassiveMode 2018-12-27 12:51:45 +11:00
Damen DeBerry
30b9846d10 Merged in passive-adjustment (pull request #37)
Passive Removal and LEO-Innocent Attacking Protection
2018-12-27 01:46:23 +00:00
Stev
af8fad34ed displaying ID in global chat changeable in settings /cp 2018-12-26 10:02:48 +00:00
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
b59b5acdd0 fixes mute detection and score detectionf or talking 2018-12-25 23:23:00 +00:00
Crova
67d02b7304 Added fireman command in civilian commands 2018-12-25 22:02:05 +01: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
Lorenc Pekaj
d2d0bfd8f7 place constants where fit on functions 2018-12-23 17:26:46 +11:00
Lorenc Pekaj
803af66803 move fps code to module 2018-12-23 12:16:55 +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
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
08e25e4a5b add server rule setting in config.pwn 2018-12-23 10:13:49 +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
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
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
b1735de8b1 remove train driver minijob 2018-12-09 00:46:11 +11:00
Steven Howard
309945b6de Merged in bugs (pull request #35)
Bugs
2018-12-04 01:04:01 +00: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
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
Lorenc Pekaj
11e1a9088d fix class bug and inactive gates/biz 2018-11-25 14:39:52 +11:00
Lorenc Pekaj
e520129da2 spawn protection fix 2018-11-24 05:22:32 +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
633eaa19c8 fixes a critical bug with hardpoints, it would restore players health everytime they enter zone 2018-11-21 21:07:26 +00:00
Steven Howard
50567719f1 Merged in bugs (pull request #33)
Bugs
2018-11-10 16:21:40 +00:00
Steven Howard
1815e6323b fireman cannot use /loc anymore 2018-11-10 11:24:44 +00: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
Lorenc Pekaj
8f8c7bfe0f initial hardpoint beta 2018-11-10 03:02:14 +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
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
c4542f41aa Increase dividends for casino and government by a bit 2018-11-07 12:15:30 +11:00
Lorenc Pekaj
349a8e4a27 show shareholders of stock 2018-11-06 15:24:24 +11:00
Lorenc Pekaj
54b05cf011 do not place random hits on passive players 2018-11-06 13:40:00 +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
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
75e4ead544 add ammunation company and fix a lot of stock market related bugs 2018-11-02 09:57:08 +11:00
Lorenc Pekaj
c964914a97 Add ammu-nation stock (reliant on ammu sales) 2018-11-01 21:55:21 +11:00
Lorenc Pekaj
f3afaa9af4 remove some useless hq 2018-11-01 17:49:29 +11:00
Lorenc Pekaj
e3a0f389fd adjust /vip 2018-10-22 22:35:55 +11:00