2015-09-30 02:56:11 +02:00
|
|
|
// ------------------------------------------------------------------------------------------------
|
2016-02-20 23:25:00 +01:00
|
|
|
#include "Misc/Model.hpp"
|
2015-09-30 02:56:11 +02:00
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
2016-02-20 23:25:00 +01:00
|
|
|
#include <cstring>
|
|
|
|
#include <algorithm>
|
2015-09-30 02:56:11 +02:00
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
2016-02-20 23:25:00 +01:00
|
|
|
namespace SqMod {
|
2015-09-30 02:56:11 +02:00
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
2016-05-22 05:20:38 +02:00
|
|
|
CSStr GetModelName(Int32 /*id*/)
|
2015-09-30 02:56:11 +02:00
|
|
|
{
|
2016-02-20 23:25:00 +01:00
|
|
|
// @TODO Implement...
|
|
|
|
return _SC("");
|
2015-09-30 02:56:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
2019-02-17 16:23:59 +01:00
|
|
|
void SetModelName(Int32 /*id*/, StackStrF & /*name*/)
|
2015-09-30 02:56:11 +02:00
|
|
|
{
|
2016-02-20 23:25:00 +01:00
|
|
|
// @TODO Implement...
|
2015-09-30 02:56:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
2016-02-20 23:25:00 +01:00
|
|
|
bool IsModelWeapon(Int32 id)
|
2015-09-30 02:56:11 +02:00
|
|
|
{
|
2016-02-20 23:25:00 +01:00
|
|
|
switch (id)
|
2015-10-29 21:58:19 +01:00
|
|
|
{
|
2016-02-20 23:25:00 +01:00
|
|
|
case 258:
|
|
|
|
case 259:
|
|
|
|
case 260:
|
|
|
|
case 261:
|
|
|
|
case 262:
|
|
|
|
case 263:
|
|
|
|
case 264:
|
|
|
|
case 265:
|
|
|
|
case 266:
|
|
|
|
case 267:
|
|
|
|
case 268:
|
|
|
|
case 269:
|
|
|
|
case 270:
|
|
|
|
case 271:
|
|
|
|
case 272:
|
|
|
|
case 273:
|
|
|
|
case 274:
|
|
|
|
case 275:
|
|
|
|
case 276:
|
|
|
|
case 277:
|
|
|
|
case 278:
|
|
|
|
case 279:
|
|
|
|
case 280:
|
|
|
|
case 281:
|
|
|
|
case 282:
|
|
|
|
case 283:
|
|
|
|
case 284:
|
|
|
|
case 285:
|
|
|
|
case 286:
|
|
|
|
case 287:
|
|
|
|
case 288:
|
|
|
|
case 289:
|
|
|
|
case 290:
|
|
|
|
case 291:
|
|
|
|
case 292:
|
|
|
|
case 293:
|
|
|
|
case 294: return true;
|
|
|
|
default: return false;
|
2015-10-29 21:58:19 +01:00
|
|
|
}
|
2015-09-30 02:56:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
2016-05-22 05:20:38 +02:00
|
|
|
bool IsModelActuallyWeapon(Int32 id)
|
|
|
|
{
|
|
|
|
switch (id)
|
|
|
|
{
|
|
|
|
case 259:
|
|
|
|
case 260:
|
|
|
|
case 261:
|
|
|
|
case 262:
|
|
|
|
case 263:
|
|
|
|
case 264:
|
|
|
|
case 265:
|
|
|
|
case 266:
|
|
|
|
case 267:
|
|
|
|
case 268:
|
|
|
|
case 269:
|
|
|
|
case 270:
|
|
|
|
case 271:
|
|
|
|
case 272:
|
|
|
|
case 274:
|
|
|
|
case 275:
|
|
|
|
case 276:
|
|
|
|
case 277:
|
|
|
|
case 278:
|
|
|
|
case 279:
|
|
|
|
case 280:
|
|
|
|
case 281:
|
|
|
|
case 282:
|
|
|
|
case 283:
|
|
|
|
case 284:
|
|
|
|
case 285:
|
|
|
|
case 286:
|
|
|
|
case 287:
|
|
|
|
case 288:
|
|
|
|
case 289:
|
|
|
|
case 290:
|
|
|
|
case 291: return true;
|
|
|
|
default: return false;
|
|
|
|
}
|
|
|
|
}
|
2015-09-30 02:56:11 +02:00
|
|
|
|
|
|
|
} // Namespace:: SqMod
|