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_PROP_DRAWABLE_VARIATIONS, _ped.Handle, Type) + 1 |
int | TextureCount => Function.Call<int>(Hash.GET_NUMBER_OF_PED_PROP_TEXTURE_VARIATIONS, _ped.Handle, Type, Index - 1) |
bool | HasVariations => Count > 1 |
bool | HasTextureVariations => Count > 1 && TextureCount > 1 |
bool | HasAnyVariations => HasVariations |
Properties | |
PedPropType | Type [get] |
int | Index [get, set] |
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.PedProp.IsVariationValid | ( | int | index, |
int | textureIndex = 0 |
||
) |
Implements GTA.IPedVariation.
bool GTA.PedProp.SetVariation | ( | int | index, |
int | textureIndex = 0 |
||
) |
Implements GTA.IPedVariation.
override string GTA.PedProp.ToString | ( | ) |
int GTA.PedProp.Count => Function.Call<int>(Hash.GET_NUMBER_OF_PED_PROP_DRAWABLE_VARIATIONS, _ped.Handle, Type) + 1 |
bool GTA.PedProp.HasAnyVariations => HasVariations |
bool GTA.PedProp.HasTextureVariations => Count > 1 && TextureCount > 1 |
bool GTA.PedProp.HasVariations => Count > 1 |
string GTA.PedProp.Name => Type.ToString() |
int GTA.PedProp.TextureCount => Function.Call<int>(Hash.GET_NUMBER_OF_PED_PROP_TEXTURE_VARIATIONS, _ped.Handle, Type, Index - 1) |
|
getset |
|
getset |
|
get |