Commit Graph

773 Commits

Author SHA1 Message Date
Lorenc Pekaj
9ad6354d05 some more error checking in the server var module 2019-01-02 16:37:28 +11:00
Lorenc Pekaj
0532bf946a make server variables module more easy to use 2019-01-02 16:32:59 +11:00
Damen
cbee6e0ab9 adds unforceac offline functionality and lowers restriction to forceac to level 3s 2019-01-01 23:55:47 -05:00
Lorenc Pekaj
9e699d8f9e move billboards and trolley vehicles into its own modules 2019-01-02 03:09:36 +11:00
Lorenc Pekaj
70b04977ca make code consistent in anti money hack module 2019-01-02 03:01:53 +11:00
Lorenc Pekaj
18eb6c9ca6 move money hack code to module 2019-01-02 03:00:54 +11:00
Lorenc Pekaj
39d81a63c7 fix issue with macro in security and use server name definition 2019-01-02 02:59:10 +11:00
Lorenc Pekaj
4e84b19014 move flood control code to security.pwn 2019-01-02 02:55:49 +11:00
Lorenc Pekaj
e5a2013426 remove useless deprecated map editor code 2019-01-02 02:54:05 +11:00
Lorenc Pekaj
515d399ef8 move object code to static object module 2019-01-02 02:53:22 +11:00
Lorenc Pekaj
1427fc0196 move game day code into its own module 2019-01-02 02:51:02 +11:00
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
675876a41a move entrance handling to entrance module 2019-01-02 00:51:13 +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
e33b7916ff make NYE feature a tiny bit more pretty for another year 2019-01-02 00:36:14 +11:00
Lorenc Pekaj
f700d2051b modulize banning, registration, login 2019-01-02 00:19:17 +11:00
Lorenc Pekaj
9c8e2ee852 rename login.pwn to player_account.pwn 2019-01-01 23:06:24 +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
df6c8385b6 gang bank module cleanup 2019-01-01 22:34:25 +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
e64ce92566 use mysql_tquery in place of mysql_function_query for helper 2019-01-01 18:28:13 +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
0b2feabcb8 fix nametags and feedback module issue 2019-01-01 18:11:03 +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
48f1ececb9 fix broken module 2019-01-01 17:55:07 +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č
d1fa7a7f9b Merged in player-objects-fix (pull request #41)
Hardcoded a fix for text by creating a variable for 3 objects
2018-12-29 08:13:28 +00: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
Crova
649b8313b4 Hardcoded a fix for text by creating a variable for 3 objects 2018-12-28 17:27:29 +01: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
8d23fa1c90 use on server update for nye timer 2018-12-27 18:30:50 +11:00
Lorenc Pekaj
6b2aecf757 remove box color on nye textdraws 2018-12-27 18:26:13 +11: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
5c3445fd1c update version + add cafe 2018-12-27 17:45:46 +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
Lorenc Pekaj
4c9b65adb0 create TogglePlayerSetting for future use 2018-12-27 12:46:00 +11:00
Lorenc Pekaj
d92241ca20 typo fixes 2018-12-27 00:01:41 +11:00
Lorenc Pekaj
48aa543433 disable xmas update, enable new years module 2018-12-26 23:57:45 +11:00
Stev
0bff900b1b fixes the business member management (removing from business) 2018-12-26 11:08:50 +00:00
Stev
af8fad34ed displaying ID in global chat changeable in settings /cp 2018-12-26 10:02:48 +00:00
Stev
644ed2c5dd listing new command. 2018-12-26 09:48:58 +00:00
Stev
b3f1f160fc variables for /banlog 2018-12-26 09:48:37 +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
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