Cmd /setmywheater
#3

Here you go:
If I helped you, gimme a reputation ma bro!

Код:
	if(strcmp(cmd, "/setweather", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
	        if(PlayerInfo[playerid][pAdmin] < 1337 && IsGod[playerid] == 0) { return 1; }
			tmp = strtok(cmdtext, idx);
			if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setweather [weatherid]"); return 1; }
			new weather;
			weather = strvalEx(tmp);
			SetWeather(weather);
			SendClientMessage(playerid, COLOR_GREY, "   Weather has been set for everyone !");
		}
		return 1;
	}
Reply


Messages In This Thread
Cmd /setmywheater - by toi - 09.03.2013, 09:06
Re: Cmd /setmywheater - by DiGiTaL_AnGeL - 09.03.2013, 09:12
Re: Cmd /setmyweather - by Stanford - 09.03.2013, 09:13
Re: Cmd /setmywheater - by Bikken - 09.03.2013, 09:16
Re: Cmd /setmywheater - by DiGiTaL_AnGeL - 09.03.2013, 09:18
Re: Cmd /setmywheater - by toi - 09.03.2013, 09:23
Re : Cmd /setmywheater - by LittleSamp - 09.03.2013, 10:27
Re: Cmd /setmywheater - by toi - 09.03.2013, 12:45
Re: Cmd /setmywheater - by MassDivide - 09.03.2013, 13:25

Forum Jump:


Users browsing this thread: 1 Guest(s)