RegisterRopeData — RedM Natives
0xF213AE8D · CFX · client
Registers a custom rope data with the game. For guidance on what these values should be use common:/data/ropedata.xml as a reference. Returns a rope type which can be passed into ADD_ROPE to use a custom rope design. Once a rope data is registered it can be used indefinitely and you should take caution not too register too many as to exceed the games limit.
Parameters
| Name | Type |
|---|---|
| numSections | int |
| radius | float |
| diffuseTextureName | char* |
| normalMapName | char* |
| distanceMappingScale | float |
| uvScaleX | float |
| uvScaleY | float |
| specularFresnel | float |
| specularFalloff | float |
| specularIntensity | float |
| bumpiness | float |
| color | int |
Returns
int