what does // do in scripts? - 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: what does // do in scripts? (
/showthread.php?tid=349022)
what does // do in scripts? -
pasha97 - 07.06.2012
I knwo what if you put // ins cript, all commands become green, but i don't know what does it change not looking at color, tell me please
Re: what does // do in scripts? -
milanosie - 07.06.2012
Its a comment,
They dont get converted to machine code, and are for the purpose of reading
Re: what does // do in scripts? -
Tom1412 - 07.06.2012
Its a way of putting a comment, that the script dont read when complied into amx
same as /*
all the text between ^ and */ are green /* is opening and */ is closing
Re: what does // do in scripts? -
pasha97 - 07.06.2012
ok, i always thout it is a comment, but some time ago i found that this symbol makes function to be done only for one time