Minor HS fixes

This commit is contained in:
Jackz 2022-06-27 11:39:14 -05:00
parent 09fe247134
commit 24ca8e73cc
No known key found for this signature in database
GPG key ID: E0BBD94CF657F603
4 changed files with 16 additions and 40 deletions

View file

@ -312,6 +312,7 @@ public Action OnClientSayCommand(int client, const char[] command, const char[]
public Action Command_Join(int client, int args) {
if(!isEnabled) return Plugin_Continue;
static float tpLoc[3];
GetSpawnPosition(tpLoc);
if(args == 1) {

View file

@ -1,10 +1,12 @@
#include <hideandseek/hsgame>
#include <hideandseek/hscmds>
#include <hideandseek/hsents>
#include <hideandseek/hscmds>
static KeyValues kv;
StringMap mapConfigs;
static float DEFAULT_SCALE[3] = { 5.0, 5.0, 5.0 };
bool ReloadMapDB() {
if(kv != null) {
delete kv;

View file

@ -308,4 +308,5 @@ stock void GetViewVector(float fVecAngle[3], float fOutPut[3])
bool Filter_IgnoreAll(int entity, int mask) {
return false;
}
}