Project Zomboid

Project Zomboid

Respawn in Car [MP/SP]
Showing 11-20 of 35 entries
< 1  2  3  4 >
Update: Nov 20, 2022 @ 5:11am

attempt fix error line #11

Update: Nov 20, 2022 @ 2:35am

fix: boat expulse players and respawn inside

Update: Nov 20, 2022 @ 1:08am

the modData stored in the getGameTime concerning the position data of vehicles was deleted. and it's a good news for big server !

Now, the only ModData stored in the getGameTime is the players names with the position data, if you have 20 players on your server, only 20 modData will be stored in the getGameTime. it is infinitely less than before, this is tiny !!

autoRemove of the old data storage tables.

some bugs is fixed

modification concerning the expulsion of player, it is necessary to open the door in order to be able to expel a player not present in the car.

if there is any problem, or an error, share me the error code if you can. thank's !

Update: Nov 15, 2022 @ 8:41am

auto reset the old table of getGameTime modData
and fix error line 76#

Update: Nov 15, 2022 @ 3:57am

xx

Update: Nov 15, 2022 @ 12:08am

-----------------------------------------------------------

major update

I redid the code and optimized the script to be usable on large MP servers
the code is very optimized - on the server side, the OnTick to save the position of the vehicle has been removed - (better system on the client side)
a new option is added for the administrator (kicks all players from the vehicle)
a new option is added for players: it is possible to expel players one by one from the vehicle seat (the option is accessible outside the vehicle)
new sounds are added for actions

-----------------------------------------------------------

I'm not far from having completely optimized my mod, I just have to review the storage of data on the getTime, the only data saved in the getTime are the player number, and the number of the cars with their positions.

I will learn storage with modData.add() to solve this.

-----------------------------------------------------------

Update: Sep 18, 2022 @ 1:04am

little forget for a "player say" in debug mode, sorry!

Update: Sep 18, 2022 @ 12:20am

-More security is added if respawn in car fail
-Added more informations for the debug mode

Update: Sep 15, 2022 @ 4:39am

The transition black screen is removed because if you have a black screen bug, this is a possible confusion with my mod

Update: Aug 11, 2022 @ 3:13am

- re black screen to transition is added.
- fix when character is deleted by admin: force nil position to player
- fix when vehicle is deleted by admin or destroye or nil: force nil position to player
- various fix related to spawn position
- "check how many player" option is removed
- add more tool for admin debug