28.10.2009, 15:28
pawn only checks if it is a multiple of tabsize, so if it is 4, it could be indented 0 4 8 12... but 1 2 3 5 6 7 9... would give warnings
yours:
yours properly indented:
my edit of yours:
just wondering, what caused you to have write it as "[TUT]" in full caps, seems odd since it is an abbreviation, not a acronym. CIA (in full caps), Mrs. (first letter). I was just curious.
yours:
pawn Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1338) {
if(response) {
SendClientMessage(playerid,ORANGE, "Have Fun!");
} else {
SendClientMessage(playerid, RED, "You selected 'Quit'. Goodbye!");
Kick(playerid);
}
return 1;
}
return 0;
}
pawn Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1338) {
if(response) {
SendClientMessage(playerid,ORANGE, "Have Fun!");
} else {
SendClientMessage(playerid, RED, "You selected 'Quit'. Goodbye!");
Kick(playerid);
}
return 1;
}
return 0;
}
pawn Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1338)
{
if(response)
{
SendClientMessage(playerid,ORANGE, "Have Fun!");
}
else
{
SendClientMessage(playerid, RED, "You selected 'Quit'. Goodbye!");
Kick(playerid);
}
return 1;
}
return 0;
}
just wondering, what caused you to have write it as "[TUT]" in full caps, seems odd since it is an abbreviation, not a acronym. CIA (in full caps), Mrs. (first letter). I was just curious.