18.04.2015, 18:18
@Kaliber : Probably one of the most stupid things I've ever read here.
Indentation also doesn't matter for the amx file. Your whole gamemode is actually one line.
Doing that is thus perfectly acceptable (and will compile fine) :
So...Why not ?
You know that it won't affect the amx file to put spaces, though, you still do it.
It's the same way with stock. It won't affect the amx file whether you put it or not, but if you put it everywhere, you simply forget why this keyword has been made for.
Indentation also doesn't matter for the amx file. Your whole gamemode is actually one line.
Doing that is thus perfectly acceptable (and will compile fine) :
PHP Code:
main{printf("My gamemode is loaded !");} public OnPlayerConnect(playerid){if(isBanned(playerid)) Kick(playerid); SendClientMessage(playerid,-1,"Welcome to my server mate !");} public OnPlayerDisconnect(playerid, reason){if(reason==1) SendClientMessage(playerid,-1, "See you soon mate !"); else SendClientMessageToAll(-1, "Someone got a problem and got disconnected :(");}
You know that it won't affect the amx file to put spaces, though, you still do it.
It's the same way with stock. It won't affect the amx file whether you put it or not, but if you put it everywhere, you simply forget why this keyword has been made for.