Commit Graph

451 Commits

Author SHA1 Message Date
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
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
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
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
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
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
3c477431dc explosive round key modified 2018-10-16 01:38:02 +11:00
Lorenc Pekaj
b2c10884e8 bug fixes with sync 2018-10-15 18:11:20 +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
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
Lorenc Pekaj
a1ed07c8e3 max 10 users per ip 2018-10-15 14:27:59 +11:00
Lorenc Pekaj
0009c38ffc Type MAX/ALL in the deposit/withdraw to all 2018-10-14 20:15:28 +11:00
Lorenc Pekaj
f0b62b37ab returning all of the changes i accidentally removed :( 2018-10-14 17:28:52 +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
1cfe7cffe6 weed dealers, 10g limit ... dealers can use it 2018-10-14 16:10:06 +11:00
Steven Howard
c15ea9ef49 adds /viewpolicechat for level 5 admins 2018-10-13 14:11:21 +01:00
Steven Howard
bcff7701ab Merged master into damage_feed 2018-10-13 11:13:23 +01: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
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
Lorenc Pekaj
97429cf955 explosive rounds n to activate 2018-10-11 23:22:55 +11: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
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
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