Update N_0x83a169eabcdb10a2
CritteRo opened this issue · 3 comments
This native is referenced as PED::SET_PED_PHONE_PALETTE_IDX
in nativedb: https://alloc8or.re/gta5/nativedb/?n=0x83A169EABCDB10A2
Would be nice to have the native name changed, and also documented, so future users won't need to dig through old code to find the native.
It has 2 params, first param is the ped ID, second is the ID of the phone palette. The pallets mimic the IDs of CELLPHONE_IFRUIT themes:
0=blue,
1=green,
2=red,
3=orange,
4=gray,
5=purple,
6=pink,
7 or more = dark-gray?
Current lua example:
N_0x83a169eabcdb10a2(PlayerPedId(), 3)
You are free to PR the modification. You can check this if you never PR a native! If you do something wrong, you'll be told what's the issue and how to fix it :)
Contributions are always welcome in FiveM / RedM.
This native is referenced as
PED::SET_PED_PHONE_PALETTE_IDX
in nativedb: https://alloc8or.re/gta5/nativedb/?n=0x83A169EABCDB10A2Would be nice to have the native name changed, and also documented, so future users won't need to dig through old code to find the native.
It has 2 params, first param is the ped ID, second is the ID of the phone palette. The pallets mimic the IDs of CELLPHONE_IFRUIT themes:
0=blue, 1=green, 2=red, 3=orange, 4=gray, 5=purple, 6=pink, 7 or more = dark-gray?
Current lua example:
N_0x83a169eabcdb10a2(PlayerPedId(), 3)
Should be good, just have to wait until my PR is merged