SA-MP Forums Archive
What is valstr? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: What is valstr? (/showthread.php?tid=137048)



What is valstr? - pagie1111 - 27.03.2010

What is valstr? and can I get an example on how it is used.


Re: What is valstr? - Correlli - 27.03.2010

https://sampwiki.blast.hk/wiki/Scripting...ons_Old#valstr


Re: What is valstr? - GTAguillaume - 27.03.2010

value to string :P


Re: What is valstr? - Correlli - 27.03.2010

Quote:
Originally Posted by GTAguillaume
value to string :P
It's not just any value, it's integer value.


Re: What is valstr? - GTAguillaume - 27.03.2010

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by GTAguillaume
value to string :P
It's not just any value, it's integer value.
not true,
Код:
valstr(string,5000);
that works.


Re: What is valstr? - dice7 - 27.03.2010

Quote:
Originally Posted by GTAguillaume
Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by GTAguillaume
value to string :P
It's not just any value, it's integer value.
not true,
Код:
valstr(string,5000);
that works.
And what is 5000 other then an integer ?


Re: What is valstr? - GTAguillaume - 27.03.2010

An integer is a variable.


Re: What is valstr? - bilakispa - 27.03.2010

Quote:
Originally Posted by GTAguillaume
An integer is a variable.
An integer is a type of number


Re: What is valstr? - MadeMan - 27.03.2010

For example:

250 - integer
17.458 - float

valstr works with integer only


Re: What is valstr? - GTAguillaume - 27.03.2010

Quote:

In computer science, the term integer is used to refer to a data type which represents some finite subset of the mathematical integers. These are also known as integral data types.

source