30.07.2018, 02:24
https://sampwiki.blast.hk/wiki/Strval
Create a new string that only has the integer value and use strval. Something like this;
new string[20];
format(string, sizeof(string), "%d", TeleportData[i][ID]);
new integervalue = strval(string);
Change the string size to fit your needs.
integervalue will hold the number.
Create a new string that only has the integer value and use strval. Something like this;
new string[20];
format(string, sizeof(string), "%d", TeleportData[i][ID]);
new integervalue = strval(string);
Change the string size to fit your needs.
integervalue will hold the number.