Time and weather, /time /weather -
Aleksabre - 19.10.2013
How do I make it?
I really don't know, thanks
for the timer, i want like /time 00 for 00:00h and /weather -1 just like the rcon weather, for example: /rcon weather 5 and that all things of weather, thanks.
Re: Time and weather, /time /weather -
bensmart469 - 19.10.2013
https://sampforum.blast.hk/showthread.php?tid=16334
See this?
Re: Time and weather, /time /weather -
Aleksabre - 19.10.2013
That's not what I've asked for. I want a command that I can type /settime or /time or "/weather" to set the time, I don't wanna have a real time.
Re: Time and weather, /time /weather -
BizzyD - 19.10.2013
Do you use ZCMD or strcmp or any other command processor?
Re: Time and weather, /time /weather -
HardRock - 19.10.2013
PHP код:
CMD:time(playerid, params[])
{
new NewTime;
if(sscanf(params, "i", NewTime)) return SendClientMessage(playerid, COLOR_WHITE, "/time [NewTime]");
SetWorldTime(NewTime);
return 1;
}
PHP код:
CMD:weather(playerid, params[])
{
new NewWeather;
if(sscanf(params, "i", NewWeather)) return SendClientMessage(playerid, COLOR_WHITE, "/weather [NewWeather]");
SetWeather(NewWeather);
return 1;
}
Re: Time and weather, /time /weather -
-Prodigy- - 20.10.2013
Without sscanf:
pawn Код:
CMD:time(playerid, params[])
{
if(isnull(params)) return SendClientMessage(playerid, -1, "Usage: /Time < ID >");
return SetPlayerTime(playerid, strval(params), 0);
}
CMD:weather(playerid, params[])
{
if(isnull(params)) return SendClientMessage(playerid, -1, "Usage: /Weather < ID >");
return SetPlayerWeather(playerid, strval(params));
}
Re: Time and weather, /time /weather -
Aleksabre - 22.10.2013
Can you please make it for an easy option such as "a_samp" theory.
Not Zcmd,Ycmd and others, thanks.
Re: Time and weather, /time /weather -
RaiNyDayS - 09.01.2014
Can somone script these 2 CMDS in
strcmp format for me. BIG THANKS!