what does // do in scripts?
#1

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
Reply
#2

Its a comment,

They dont get converted to machine code, and are for the purpose of reading
Reply
#3

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
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)