12.03.2014, 19:14
pawn Код:
public OnPlayerConnect(playerid) {
SendClientMessage(playerid,COR_RED, "Seja Bem Vindo ao Servidor.");
new Hor; gettime(Hor);
switch(Hor) {
case 0..5: GameTextForPlayer(playerid,"~r~Boa Madrugada!!!", 3000, 3);
case 6..11: GameTextForPlayer(playerid,"~r~Bom Dia!!!", 3000, 3);
case 12..17: GameTextForPlayer(playerid,"~r~Boa Tarde!!!", 3000, 3);
case 18..23: GameTextForPlayer(playerid,"~r~Boa Noite!!!", 3000, 3);
}
return 1;
}