SA-MP Forums Archive
Char declaration - 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: Char declaration (/showthread.php?tid=322705)



Char declaration - Roko_foko - 03.03.2012

Hey,

How to declare a char, or array of chars(string)? I think I saw something like this new Var[char 8] or something?
Thanks in advance.


Re: Char declaration - T0pAz - 03.03.2012

Use char keyword to declare a char.


Re: Char declaration - Roko_foko - 03.03.2012

You mean: "char var[10];" for example?


Re: Char declaration - T0pAz - 03.03.2012

See this.


Re: Char declaration - Roko_foko - 03.03.2012

okay thanks.