#include <a_samp>
public OnFilterScriptInit() { return 1; }
public OnFilterScriptExit() { return 1; }
public OnPlayerCommandText(playerid,cmdtext[])
{
if(!strcmp(cmdtext, \"/time\",true,5))
{
if(!cmdtext[5] || !(0 <= strval(cmdtext[6]) <= 20)) return SendClientMessage(playerid, 0xFF0000FF, \"Használat: /time [0-20]\");
SetPlayerTime(playerid,strval(cmdtext[6]),0);
SendClientMessage(playerid,0xFF6600FF,\"Idõ megváltoztatva !\");
return 1;
}
return 0;
}