Log in to reply

C++ Show object hash in text box?

  • I'm very very new to C++ scripting as I'm developing an ASI script. I do have experience with LUA and C# for FiveM though but it doesn't seem to be helping 😅.

    I want to get the pickup hash for the entity I am aiming at and then display it in a text box (using an example from the natives database) but I cant seem to convert the hash to a string to display as I keep getting an error in Visual Studio. I do know hashes are simply numbers but still doesn't help. I know this is definitely possible as I've seen it done before in many mods but I can't seem to figure it out. PLEASE tell me if there is something you don't understand in the script since some of the natives I am using do not having set names but I had provided the names in the comments.


Log in to reply

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.