Add NULL_VECTOR

This commit is contained in:
Valentin Grünbacher
2015-05-06 11:28:54 +02:00
parent 39cc240a4e
commit fdb180e062
6 changed files with 27 additions and 3 deletions

View File

@ -29,7 +29,7 @@ static cell AMX_NATIVE_CALL get_xvar_id(AMX *amx, cell *params)
char* sName = get_amxstring(amx, params[1], 0, len);
cell ptr;
if (!strcmp(sName, "MaxClients") || !strcmp(sName, "NULL_STRING"))
if (!strcmp(sName, "MaxClients") || !strcmp(sName, "NULL_STRING") || !strcmp(sName, "NULL_VECTOR"))
{
return -1;
}