12-11-2010, 12:09 PM
I'm willing to create an automated style-checker for the entire gamemode, but then the coding style has to be clear. My preference:
Code:
#include <file>
#include "file.pwn"
stock functionName (param1, param2)
{
new a, b = 2, c;
new foo = b;
if (foo == (a + c))
{
printf ("Foo equals %d + %d", a, c);
return 1;
}
return 0;
}