mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-22 16:57:12 +02:00
Untested update to the new plugin API.
Various other changes to the plugin as well.
This commit is contained in:
@@ -7,12 +7,25 @@
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
CCStr GetModelName(Int32 id);
|
||||
void SetModelName(Int32 id, CCStr name);
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Retrieve the name associated with a model identifier.
|
||||
*/
|
||||
CSStr GetModelName(Int32 id);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Modify the name associated with a model identifier.
|
||||
*/
|
||||
void SetModelName(Int32 id, CSStr name);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* See whether the given model identifier is used a weapon model.
|
||||
*/
|
||||
bool IsModelWeapon(Int32 id);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* See whether the given model identifier is an actual weapon model.
|
||||
*/
|
||||
bool IsModelActuallyWeapon(Int32 id);
|
||||
bool IsWeaponNatural(Int32 id);
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
|
Reference in New Issue
Block a user