|
SHVDN
v3
An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language in-game. Developed by crosire https://github.com/crosire/scripthookvdotnet/
|
Public Member Functions | |
| bool | SetVariation (int index, int textureIndex=0) |
| bool | IsVariationValid (int index, int textureIndex=0) |
| override string | ToString () |
Public Attributes | |
| string | Name => Type.ToString() |
| int | Count => Function.Call<int>(Hash.GET_NUMBER_OF_PED_DRAWABLE_VARIATIONS, _ped.Handle, Type) |
| bool | HasVariations => Count > 1 |
| bool | HasTextureVariations => Count > 0 && TextureCount > 1 |
| bool | HasAnyVariations => HasVariations || HasTextureVariations |
Properties | |
| PedComponentType | Type [get] |
| int | Index [get, set] |
| int | TextureCount [get] |
| int | TextureIndex [get, set] |
Properties inherited from GTA.IPedVariation | |
| int | Count [get] |
| int | Index [get, set] |
| int | TextureCount [get] |
| int | TextureIndex [get, set] |
| string | Name [get] |
| bool | HasVariations [get] |
| bool | HasTextureVariations [get] |
| bool | HasAnyVariations [get] |
| bool GTA.PedComponent.IsVariationValid | ( | int | index, |
| int | textureIndex = 0 |
||
| ) |
Implements GTA.IPedVariation.
| bool GTA.PedComponent.SetVariation | ( | int | index, |
| int | textureIndex = 0 |
||
| ) |
Implements GTA.IPedVariation.
| override string GTA.PedComponent.ToString | ( | ) |
| int GTA.PedComponent.Count => Function.Call<int>(Hash.GET_NUMBER_OF_PED_DRAWABLE_VARIATIONS, _ped.Handle, Type) |
| bool GTA.PedComponent.HasAnyVariations => HasVariations || HasTextureVariations |
| bool GTA.PedComponent.HasTextureVariations => Count > 0 && TextureCount > 1 |
| bool GTA.PedComponent.HasVariations => Count > 1 |
| string GTA.PedComponent.Name => Type.ToString() |
|
getset |
|
get |
|
getset |
|
get |