diff --git a/VScript-in-Mapbase.md b/VScript-in-Mapbase.md index 98a7afa..5e8cab9 100644 --- a/VScript-in-Mapbase.md +++ b/VScript-in-Mapbase.md @@ -110,6 +110,8 @@ The base class all equippable weapons derive from. |:------------- | :-----| | *int* Clip1()| Get the weapon's current primary ammo. | | *int* Clip2()| Get the weapon's current secondary ammo. | +| *void* SetClip1()| Set the weapon's current primary ammo. | +| *void* SetClip2()| Set the weapon's current secondary ammo. | | *int* GetMaxClip1()| Get the weapon's maximum primary ammo. | | *int* GetMaxClip2()| Get the weapon's maximum secondary ammo. | | *int* GetDefaultClip1()| Get the weapon's default primary ammo. | @@ -331,6 +333,17 @@ Root class of all server-side entities. | *bool* IsEntVisible(handle *target*)| Check if the specified entity can be visible to this entity. | | *bool* IsVisibleWithMask(Vector *target*, int *traceMask*)| Check if the specified position can be visible to this entity with a specific trace mask. | | *int* Classify()| Get Class_T class ID | +| *int* GetSpawnFlags()| Get spawnflags | +| *void* AddSpawnFlags()| Add spawnflag(s) | +| *void* RemoveSpawnFlags()| Remove spawnflag(s) | +| *void* ClearSpawnFlags()| Clear spawnflag(s) | +| *bool* HasSpawnFlags()| Check if the entity has specific spawnflag(s) ticked | +| *int* GetEffects()| Get effects | +| *void* AddEffects()| Add effect(s) | +| *void* RemoveEffects()| Remove effect(s) | +| *void* ClearEffects()| Clear effect(s) | +| *void* SetEffects()| Set effect(s) | +| *void* IsEffectActive()| Check if an effect is active | ***