Commit Graph

50 Commits

Author SHA1 Message Date
Vortrex
efc72dffe1 Mass convert indentation + add ped speech cmd 2022-03-16 17:02:33 -05:00
Vortrex
c89cc5cd3e Load objects when setting cutscene interior 2022-03-15 04:17:19 -05:00
Vortrex
a9ff7bd4d4 Only set interior if different than main world 2022-03-14 05:15:40 -05:00
Vortrex
71509d8223 Merge branch 'gtaiv' into nightly 2022-03-09 05:18:24 -06:00
Vortrex
11976b4e65 Add net event veh util 2022-03-09 02:52:40 -06:00
Vortrex
c9e4979750 Merge branch 'nightly' 2022-03-08 10:31:29 -06:00
Vortrex
33490a5301 Move game setup to startup.js 2022-03-08 01:10:27 -06:00
Vortrex
dc2c156eb9 Fix weapon slot util for IV 2022-03-07 07:38:08 -06:00
Vortrex
2b43c79bc8 Merge branch 'nightly' 2022-03-07 02:28:57 -06:00
Vortrex
24bce67d37 Interior stuff 2022-03-07 02:27:26 -06:00
Vortrex
d48fb89460 Don't enable HUD on game start 2022-03-03 01:44:06 -06:00
Vortrex
8e225ed480 Fixes for IV 2022-02-26 22:30:39 -06:00
Vortrex
d1a3087a5e Don't set collisions on GTA IV when setting control state 2022-02-26 21:32:20 -06:00
Vortrex
36cecc1955 Vehicle fires 2022-02-25 05:29:00 -06:00
Vortrex
e2db5a85bc (SA) Set player fat and muscle to max for slower melee 2022-02-13 19:32:49 -06:00
Vortrex
ac045a75db Woops wrong const name for veh buy state 2022-02-10 18:00:43 -06:00
Vortrex
2adef35ab6 Fix client-side vehicle purchase check 2022-01-31 13:46:12 -06:00
Vortrex
e4c7d3f143 Add some initial game setup stuff 2022-01-31 12:25:57 -06:00
Vortrex
4c4a38344e Use new native util for netevents 2022-01-09 05:32:22 -06:00
Vortrex
5e146224a5 Freeze player in skin-select and control state util 2022-01-07 19:51:45 -06:00
Vortrex
16d5343903 Use new forced wanted level 2022-01-06 13:36:26 -06:00
Vortrex
3d96bee906 More initial game setup for IV 2021-12-26 11:47:12 -06:00
Vortrex
578e3675db Check some props before using 2021-12-22 23:34:29 -06:00
Vortrex
6112a27b6f Only process veh if svr elements supported 2021-12-13 20:45:04 -06:00
Vortrex
35681e432e Don't process clear msgs game func on IV 2021-12-11 20:14:34 -06:00
Vortrex
4e39061c71 Offload vehicle purchase logic to clientside 2021-12-03 10:19:43 -06:00
Vortrex
dd4fb00fd0 Use elements by type util, fix snow initial state 2021-11-28 22:43:16 -06:00
Vortrex
2e753b4d87 Use game namespace and new const 2021-11-16 02:00:54 -06:00
Vortrex
299ce12008 Fix snow util, move game object utils to game resource 2021-10-25 12:59:17 -05:00
Vortrex
b923303fe6 Use get game util 2021-10-15 22:36:22 -05:00
Vortrex
cef38f67e5 Use drunkenness native for alcohol usage 2021-10-11 19:30:49 -05:00
Vortrex
da175c6690 Remove force vehicle interior sync 2021-10-02 16:46:20 -05:00
Vortrex
6b264cc198 Apply interior to vehicles that have it 2021-09-30 18:55:49 -05:00
Vortrex
9d8d5d1418 Bunch of changes (see description)
* New script files to organize GUI
* Added clientside pickup detection to reduce server load for enter/exit
* Added notips command for players to toggle random tips
* Select account last IP as part of wildcard (was separate due to old INT)
* Save account registration with datetime instead of unix timestamp
* Don't force mouse camera on moving anims in SA+
* Add IP ban to server runtime memory in subnet ban command
* Add non-roleplay character name account moderation flag
* Fix bizowner and bizclan commands
* Fix bug that allowed buying items without having the needed cash
* Fix set biz blip command
* Add dealership help label type command
* Added command to show all clan flag types
* Added discord config and load from database
* Fix angle for directional teleport and anim move directions
* Use new colour structure in preparation for locale translations
* Add on-foot only item usetype array to prevent using when in veh
* Fix wrong const value for exit pickup type
* Start using datetime in MySQL tables instead of unix timestamps
* Start adding webhooks for discord (unfinished)
* Added new discord URL to discord help category
* Added house reset pickups/blips utils
* Prevent using items when in skin selector
* Fix get player command
* Fix give player money command
* Add coffee shop and vehicle repair shop default biz item templates
* Remove old game fixes util (resource now in server config)
* Fix bug where characters in clans wouldn't be shown in char select
* Slimmed down the amount of timers
* Made some potentially large numbers more readable (commas)
* Remove colours in message for console output
2021-09-28 11:41:33 -05:00
Vortrex
80eeaa14c5 Lots of changes and fixes
* Add guiReady state
* Add mouseCameraEnabled state
* Make sure GUI is ready on some things
* Fix wrong veh prop funcs being used clientside
* Add local player ped parts/props util for IV
* Add vehicle.lightStatus sync
* Add element interior sync
* Dont use interior on IV
* Use new class structure
* Set default anim offset to 1
* Set biz data to save when changing biz properties
* Add mouse cam state util
* Prefix item type admin cmds with "itemtype"
* Fix server config saving
* Fix server time setting hour to minute arg
* Add player returnTo data types
* Make veh rent/buy price numbers readable
* Fix wrong house index being used to create blip/pickup on create
* Don't cache player hotbar items if working
* Fix cache player hotbar items util
* Add lots of anims to GTA SA
* Try/catch on all data saving to prevent one from blocking the rest
* Fix readable time from showing AM for 12 PM (noon)
* Set veh interior on create
* Dont set engine for spawnlocked vehicles
2021-09-18 06:48:13 -05:00
Vortrex
9c87ff950c Lots of fixes + clans
* Added clans
* Fixed interior exit labels
* Disabled nametags on games without 3D label support
* Fixed mouse cursor toggle command
* Fixed SA fight-style not being applied
* Added manageRanks clan permission bitflag
* Added interior lights toggle
* Fixed clan chat
* Added real-time support with optional timezone offset
* Added lots of JSDoc stuff
* Added command for managers to set server GUI colour
* Added GeoIP command for admins
* Added command for admins to force an immediate payday
* Added admins gotospawn command
* Added return player command for teleported players
* Added pizza delivery job const
* Fixed biz/house set pickup & interior type
* Fixed inventory showing ammo count for melee weapons
* Fixed SA using wrong pickup types
* Fixed char select screen breaking when in a clan
* Added +/- symbol util for number display
* Added get current timestamp for timezone offset util
* Fixed vehicle owner ID being set wrong for job veh
2021-09-09 01:37:04 -05:00
Vortrex
b60b52a2c0 Add biz/house toggleable interior lights 2021-08-27 18:45:56 -05:00
Vortrex
4fe9c45e0a Mafia Connected support 2021-08-14 20:49:47 -05:00
Vortrex
c7fdaa96d9 Don't apply extra ped properties 2021-08-11 09:37:41 -05:00
Vortrex
9ce391ef9a Tons of fixes, change netevent prefix. 2021-07-18 20:39:49 -05:00
Vortrex
aadff4f8e9 Only set collisions and invincible if NOT IV 2021-07-14 19:23:07 -05:00
Vortrex
a447e4f3f2 Use new ped element define (civilian was removed) 2021-07-12 17:42:20 -05:00
Vortrex
7b44801a20 Rebrand 2021-06-05 17:31:17 -05:00
Vortrex
75c264eace Rebrand 2021-06-05 03:14:10 -05:00
Vortrex
82835e0414 Dont disable special camera for garages 2021-04-23 18:15:14 -05:00
Vortrex
1f6b8f52f9 Set velocity to zero before teleporting 2021-04-22 09:25:56 -05:00
Vortrex
e840db72a5 Woops wrong var name, remove dup'ed func 2021-04-20 21:30:21 -05:00
Vortrex
6da115aa17 Fix cam lookat name var caps 2021-04-18 19:10:36 -05:00
Vortrex
b0e587fba9 Move wep slot IDs to CS utils, use gta namespace 2021-04-13 01:29:42 -05:00
Vortrex
bf63bcba2a Add CS util script 2021-03-30 21:44:43 -05:00