[PLS]Help /w and /t
#5

Quote:

CMDetweather(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 1337)
{
SendClientMessageEx(playerid, COLOR_GRAD1, "Ban khong co quyen thuc hien dieu nay.");
return 1;
}

new weather;
if(sscanf(params, "d", weather)) return SendClientMessageEx(playerid, COLOR_GREY, "USAGE: /setweather [weatherid]");

if(weather < 0||weather > 45) { SendClientMessageEx(playerid, COLOR_GREY, " Weather ID can't be below 0 or above 45!"); return 1; }
SetWeather(weather);
gWeather = weather;
SendClientMessageEx(playerid, COLOR_GREY, "Weather set to everyone!");
return 1;
}

I just can help you with weather command for player
Reply


Messages In This Thread
[PLS]Help /w and /t - by goldenpower - 22.08.2014, 08:38
Re: [PLS]Help /w and /t - by Stinged - 22.08.2014, 08:51
Re: [PLS]Help /w and /t - by goldenpower - 22.08.2014, 09:08
Re: [PLS]Help /w and /t - by goldenpower - 22.08.2014, 11:57
Re: [PLS]Help /w and /t - by Kenxxx - 23.08.2014, 11:53
Re: [PLS]Help /w and /t - by DavidBilla - 23.08.2014, 12:03
Re: [PLS]Help /w and /t - by goldenpower - 23.08.2014, 12:07

Forum Jump:


Users browsing this thread: 1 Guest(s)