SA-MP Forums Archive
getproperty Unique ID - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: getproperty Unique ID (/showthread.php?tid=664514)



getproperty Unique ID - NoteND - 02.03.2019

Hey!

I do not understand what exactly to do to do property's unique ID as this line says.

"The property's unique ID. Use the hash-function to calculate it from a string."

Help appreciated


Re: getproperty Unique ID - andrejc999 - 02.03.2019

I'm not sure what you mean but I guess that each "property" has it's own unique ID which is saved in a string and you need to convert that string to an integer?


Re: getproperty Unique ID - NoteND - 02.03.2019

Quote:
Originally Posted by andrejc999
Посмотреть сообщение
I'm not sure what you mean but I guess that each "property" has it's own unique ID which is saved in a string and you need to convert that string to an integer?
Yes, how do you convert it so that you get unique ID of a property?