mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-22 16:06:43 +00:00
add MP.GetPositionRaw(pid, vid)
fix vehicles sometimes not deleting for all players
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
extern TSentry Sentry;
|
||||
|
||||
#include <array>
|
||||
#include <unordered_map>
|
||||
#include <atomic>
|
||||
#include <cstring>
|
||||
#include <deque>
|
||||
@@ -33,6 +34,9 @@ struct Version {
|
||||
std::string AsString();
|
||||
};
|
||||
|
||||
template<typename T>
|
||||
using SparseArray = std::unordered_map<size_t, T>;
|
||||
|
||||
// static class handling application start, shutdown, etc.
|
||||
// yes, static classes, singletons, globals are all pretty
|
||||
// bad idioms. In this case we need a central way to access
|
||||
|
||||
Reference in New Issue
Block a user