mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
more revert to 1.00-era code
This commit is contained in:
parent
0da49cfc45
commit
d9f9c5256a
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* TSX
|
||||
* Copyright (c) 2005 Melanie Maye
|
||||
* TFCX
|
||||
* Copyright (c) 2004 Lukasz Wlasinski
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
@ -58,7 +58,7 @@ weapon_t weaponData[] = {
|
||||
{ 0,"Glock-20C","glock-20c",1 },
|
||||
{ 0,"UMP", "ump",1 },
|
||||
{ 0,"M61 Grenade","m61_grenade",1 },
|
||||
{ 1,"Combat Knife","combat_knife", 2 },
|
||||
{ 1,"Combat Knife","combat_knife",1 },
|
||||
{ 0,"MOSSBERG 500","mossberg_500",1 },
|
||||
{ 0,"M16A4","m16a4",1 },
|
||||
{ 0,"Ruger-MK1","ruger-mk1",1 },
|
||||
@ -68,8 +68,20 @@ weapon_t weaponData[] = {
|
||||
{ 0,"M60E3","m60e3",1 },
|
||||
{ 0,"Sawed-off","sawed-off",1 }, // 33
|
||||
{ 1,"Katana", "katana",2 },
|
||||
{ 1,"Seal Knife","seal_knife",2 }, // 35
|
||||
{ 1,"Seal Knife","seal_knife",1 }, // 35
|
||||
{ 1,"Kung Fu","kung_fu",3 }, // Again new id 36
|
||||
{ 1,"Throwing Knife","throwing_knife",2 }, // new id 37
|
||||
{ 0,"breakable", "breakable", 1 },
|
||||
};
|
||||
|
||||
bool ignoreBots (edict_t *pEnt, edict_t *pOther){
|
||||
if ( !rankBots && ( pEnt->v.flags & FL_FAKECLIENT || ( pOther && pOther->v.flags & FL_FAKECLIENT ) ) )
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool isModuleActive(){
|
||||
if ( !(int)CVAR_GET_FLOAT("tsstats_pause") )
|
||||
return true;
|
||||
return false;
|
||||
}
|
@ -215,10 +215,16 @@
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\StatsNatives.cpp">
|
||||
RelativePath="..\moduleconfig.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\tsx.cpp">
|
||||
RelativePath="..\NBase.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\NRank.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\usermsg.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Utils.cpp">
|
||||
|
Loading…
Reference in New Issue
Block a user