Commit Graph

265 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
Steven Howard
357e059631 traindriver.pwn edited 2018-09-17 00:03:46 +00:00
Steven Howard
051f5cf6af added traindriver minijob 2018-09-17 01:01:01 +01:00
Lorenc Pekaj
f43ffae631 specific pilot vehicles pay more ... wanted level given for harder jobs 2018-09-17 08:23:04 +10:00
Lorenc Pekaj
c57067199d more pool skins for crowdfund patreons 2018-09-17 08:22:45 +10:00
Lorenc Pekaj
5b05305b17 Merge branch 'master' of ssh://bitbucket.org/lorenc/cnr 2018-09-17 05:58:02 +10:00
Lorenc Pekaj
cde58d1c67 bugfixes 2018-09-17 05:57:14 +10:00
Steven Howard
22532b95f1 fixes "/pb leave" 2018-09-16 15:47:22 +01:00
Steven Howard
2b0f96e0d1 Revert "adds different cargo names and the risk level."
This reverts commit 018f5f4e34.
2018-09-16 14:16:59 +01:00
Steven Howard
018f5f4e34 adds different cargo names and the risk level. 2018-09-16 14:16:48 +01:00
Lorenc Pekaj
d2d9be73de add custom pool skin param 2018-09-16 17:04:45 +10:00
Lorenc Pekaj
3f47179dba code cleanup on the casino parts 2018-09-16 16:49:26 +10:00
Lorenc Pekaj
1c2b4236be more plane models to export for 2018-09-16 16:49:10 +10:00
Lorenc Pekaj
bd8b584cb3 bug fixes 2018-09-16 16:06:12 +10:00
Lorenc Pekaj
c3162a0d96 add "/p leave" 2018-09-16 16:05:38 +10:00
Lorenc Pekaj
a59326f0a3 replace number_format with cash_format 2018-09-16 16:05:27 +10:00
Lorenc Pekaj
6e79b82423 remove "sscanf_u" in some modules that it was not removed from 2018-09-16 15:35:17 +10:00
Lorenc Pekaj
7ea55e0743 convert more player textdraws (that use global td) to actual player textdraw 2018-09-16 15:34:42 +10:00
Steven Howard
af30a89914 including pilot into script 2018-09-15 21:35:02 +01:00
Steven Howard
f74b61ff52 increased the drop off checkpoint by 0.5 units 2018-09-15 21:31:37 +01:00
Steven Howard
5548bd4544 added risk element into pilot job
added parameters into "/pilot [NORMAL/HARDER/STOP]"
fixed all related bugs according to bangs
2018-09-15 21:15:24 +01:00
Lorenc Pekaj
5bc7b36b1c reposition commands in pool script 2018-09-15 12:32:32 +10:00
Lorenc Pekaj
87f4163b97 fix pool issues and add protection against pool players for rob, kill, etc.. 2018-09-15 12:26:54 +10:00
Lorenc Pekaj
0e507bad49 Merged in pool-system (pull request #12)
Pool system
2018-09-15 02:07:51 +00:00
Lorenc Pekaj
91463f020b if player distant from pool, auto removed from table. lot of bug fixes 2018-09-15 12:06:35 +10:00
Lorenc Pekaj
22f69ca1be setlevel was not working for level 6 ... moved server defs to _config 2018-09-15 12:05:53 +10:00
Lorenc Pekaj
0a18215da9 if a player pockets the cue ball, the next player will be able to set it next turn 2018-09-14 21:10:29 +10:00
Lorenc Pekaj
3db3ec2731 add system for waging pool 2018-09-14 19:56:07 +10:00
Lorenc Pekaj
da1f2f91bf no longer can jump on top of the table to shoot
instructions given to first player that joins the table
cleanup
2018-09-14 19:12:39 +10:00
Lorenc Pekaj
f9d2262b58 animation fixes for pool 2018-09-14 18:00:41 +10:00
Lorenc Pekaj
a8c06186a4 format messages and let him keep the pool cue 2018-09-14 08:38:40 +10:00
Lorenc Pekaj
c8b143f65b if a player shoots a pool ball, restore the ball's position and desync the shot 2018-09-14 07:57:25 +10:00
Lorenc Pekaj
1301f7ef0a remove pool table from player home (panther) 2018-09-14 07:42:26 +10:00
Lorenc Pekaj
3323e7f39e fixes turn issue when you pocket several balls 2018-09-14 07:42:15 +10:00
Steven Howard
7a007cb058 Merged in pilot-minijob (pull request #10)
rebuilding pilot minijob, fully tested and working, attempted cleaning aswell

Approved-by: Lorenc Pekaj <pekajlorenc@gmail.com>
2018-09-13 21:39:43 +00:00
Steven Howard
01b0cb3372 Merge branch 'houses-bugs' of https://bitbucket.org/lorenc/cnr into houses-bugs
# Conflicts:
#	gamemodes/irresistible/cnr/features/houses/house.pwn
2018-09-13 09:54:45 +01:00
Steven Howard
180ae973e4 reverting changes 2018-09-13 09:32:53 +01:00
Steven Howard
d461e85298 Revert "changed /h config dialog to show current value"
This reverts commit 7623bdc17b.
2018-09-13 09:19:57 +01:00
Steven Howard
7623bdc17b changed /h config dialog to show current value 2018-09-13 09:17:24 +01:00
Steven Howard
abd26b8ef1 fixed bugs when player enters password into a house and automatically spawns outside the house
http://forum.sfcnr.com/showthread.php?58726-House-password-bug
2018-09-13 00:01:49 +01:00
Steven Howard
584f730db3 rebuilding pilot minijob, fully tested and working, attempted cleaning aswell 2018-09-12 23:29:47 +01:00
Lorenc Pekaj
5445f06968 removes pool cmd ... simply enter to join pool table, laser placed for where 8ball should go towards ending a game 2018-09-13 07:38:47 +10:00
Lorenc Pekaj
60c098abd2 move clearchat feature to helpers 2018-09-13 04:03:16 +10:00
Lorenc Pekaj
21aeeed965 add penalities for pocketing white / opposition + chalk as soon as you press key fire 2018-09-13 02:52:39 +10:00
Lorenc Pekaj
e01a3a4bfe add/remove players using foreach and optimizations 2018-09-13 01:16:26 +10:00
Lorenc Pekaj
ff9ee58d55 detects ball type and number 2018-09-12 10:59:04 +10:00
Steven Howard
8637b7b077 changing number_format to cash_format for cash related 2018-09-12 00:31:22 +01:00
Lorenc Pekaj
e317d90417 move constants to top 2018-09-12 08:32:42 +10:00
Lorenc Pekaj
1ba5cc5290 pool offsets perfected (walls and holes) 2018-09-12 08:08:23 +10:00
Steven Howard
94640d40a4 adding pilot minijob (cargo delivery from static place to random airport) 2018-09-11 14:34:16 +01:00
Lorenc Pekaj
8c139b7033 pool cleanup 2018-09-11 21:40:45 +10:00
Steven Howard
66245b1e7c pool.pwn edited the module name 2018-09-11 10:29:45 +00:00
Steven Howard
fb181bd148 adding pool minigame (modular) 2018-09-11 11:27:54 +01:00
Lorenc Pekaj
070770ad22 chuffsec module can be commented to disable now 2018-09-11 18:17:37 +10:00
Lorenc Pekaj
759ee28afb thrown more items into the fps module 2018-09-11 17:40:36 +10:00
Lorenc Pekaj
a99e86216b modularize chuffsec 2018-09-11 17:30:24 +10:00
Lorenc Pekaj
3e739ffd48 forgot to fill the description of the meth minijob 2018-09-11 08:49:23 +10:00
Lorenc Pekaj
736cba6171 modulize meth minijob 2018-09-11 08:41:42 +10:00
Lorenc Pekaj
2cff1b8bb1 modulize trucking system 2018-09-11 08:29:50 +10:00
Lorenc Pekaj
64923afd6d OnServerUpdate & OnPlayerUpdateEx now hookable 2018-09-11 08:01:18 +10:00
Lorenc Pekaj
97b129e2fe vending machine bug fix 2018-09-11 07:58:33 +10:00
Lorenc Pekaj
4df1a7561d modulize vending machines and thrown into anticheat package 2018-09-11 07:29:38 +10:00
Lorenc Pekaj
d5a9c7f8a3 server-sided money is now a part of the anticheat modules 2018-09-11 07:15:04 +10:00
Lorenc Pekaj
eeb3a33e8b finish modulizing slot machines 2018-09-11 06:48:22 +10:00
Lorenc Pekaj
1cfd945d4b modulize random messages (stephanie), begin modulizing slots 2018-09-11 06:33:18 +10:00
Lorenc Pekaj
fa715f46b1 make easter egg system modular (and disabled for now) 2018-09-11 06:16:36 +10:00
Lorenc Pekaj
4cd8168fa3 store valid car mod data in gta folder 2018-09-11 05:58:22 +10:00
Steven Howard
271ecbe713 change duel system styling for ease of use 2018-09-10 20:00:02 +01:00
Lorenc Pekaj
95f4957f9a changed to cash_format() to style numbers into money and fixes a bug with formatting negative numbers 2018-09-11 03:44:05 +10:00
Lorenc Pekaj
835618c940 removes useless sscanf_u and fixes some infinite loop issue when there are few entities in the server 2018-09-11 03:20:52 +10:00
Lorenc Pekaj
d7e803acc9 bug fixes for paintball module 2018-09-11 03:20:01 +10:00
Lorenc Pekaj
896302c2be use scriptinit for database 2018-09-11 03:19:21 +10:00
Lorenc Pekaj
ef25eb8112 remove "sccanf_u" definition ... caused issues 2018-09-11 03:19:02 +10:00
Lorenc Pekaj
7f694a22b2 Merge branch 'modulize_houses' of ssh://bitbucket.org/lorenc/cnr into modulize_houses 2018-09-10 18:35:15 +10:00
Lorenc Pekaj
9ab92d9613 modularizes the furniture system 2018-09-10 18:34:30 +10:00
Lorenc Pekaj
60f5ec2ac0 Merged master into modulize_houses 2018-09-10 18:26:31 +10:00
Lorenc Pekaj
51c281878a irresistible guard as component 2018-09-10 18:25:39 +10:00