add MP.GetPositionRaw(pid, vid)

fix vehicles sometimes not deleting for all players
This commit is contained in:
20dka
2022-09-14 01:36:16 +02:00
parent 54e02abad1
commit 44b94c9e58
8 changed files with 163 additions and 25 deletions

View File

@@ -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