SA-MP Forums Archive
I don't get what is strings are used for - 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: I don't get what is strings are used for (/showthread.php?tid=616711)



I don't get what is strings are used for - Gotham - 09.09.2016

Hi Guys,

As I am a little newbie scripter , I don't actually get what are strings (Example of a string is shown below)
PHP код:
new string[128
Now what is 128??

and what are %d , %s and stuff used for?

If I have posted in the wrong section please tell me.


Re: I don't get what is strings are used for - Konstantinos - 09.09.2016

https://sampwiki.blast.hk/wiki/Scripting_Basics#Strings
https://sampwiki.blast.hk/wiki/Format


Re: I don't get what is strings are used for - IceBilizard - 09.09.2016

about %s, %d etc..
https://sampwiki.blast.hk/wiki/Format

about string and other variables

for string = https://sampwiki.blast.hk/wiki/Scripting_Basics#Strings
and other variables and basics = https://sampwiki.blast.hk/wiki/Scripting_Basics