CMD:time(playerid,params[]){new time;if(sscanf(params,\"i\",time))SendClientMessage(playerid,COLOR_GREEN,\"Használat: /time >Idõérték<\");SetPlayerTime(playerid,time);return 1;}
SetPlayerWeather(playerid,time);
Ez igy lenne Jó[/quote]Helyesbítek:SetPlayerWeather(playerid, time, time);
CMD:time(playerid,params[]){new time;if(sscanf(params,\"i\",time))SendClientMessage(playerid,COLOR_GREEN,\"Használat: /time >Idõérték<\");if(time < 0 || time > 24) return SendClientMessage(playerid, 0xbbff00aa, \"0-24\");SetPlayerTime(playerid,time, time);return 1;}
CMD:time(playerid,params[]){ new time; if(sscanf(params,\"i\",time))SendClientMessage(playerid,COLOR_GREEN,\"Használat: /time >Idõérték<\"); if(time < 0 || time > 24) return SendClientMessage(playerid, 0xbbff00aa, \"0-24\"); SetPlayerTime(playerid,time, 0); return 1;}
CMD:time(playerid,params[]){ new ora,perc,masodperc; if(sscanf(params,\"ii\",ora,perc))SendClientMessage(playerid,0xff0000AA,\"Használat: /time >óra< >perc<\"); if(ora > 0 && ora <= 24 && perc > 0 && perc <= 60) { SetPlayerTime(playerid, ora, perc,masodperc); } else { SendClientMessage(playerid,0xff0000AA,\"Érvénytelen idõ.\"); } return 1;}