06.05.2011, 14:48
RyDeR`, remember all those years ago (okay, two) when Alex used to say "read the PAWN language manual"? Or something to those lines anyway...
Well, I suggest you should have. You would have learned about the semicolon directive!
This directive allows lines to have either a colon at the end, or no colon at all - both are fine.
Here's a little example.
Thus you could omit the semicolon in game.
Just a way of making it quicker to type commands (by a fraction of a second, I suppose)
Well, I suggest you should have. You would have learned about the semicolon directive!
This directive allows lines to have either a colon at the end, or no colon at all - both are fine.
Here's a little example.
pawn Код:
#include <a_samp>
#pragma semicolon 0
main()
{
printf("The game has loaded!")
printf("Yeah... but I love semi colons too much :(");
printf("Multiple function calls on a single line"); printf("require semicolons for all the previous statements.")
}
Just a way of making it quicker to type commands (by a fraction of a second, I suppose)