14.02.2015, 08:40
(
Последний раз редактировалось Karan007; 23.08.2015 в 10:11.
Причина: Added Features
)
~REMOVED~
CMD:weather(playerid,params[])
{
new str[128];
if(!strlen(params)) return SendClientMessage(playerid, -1, "Use /weather [0-20].");
if(strval(params) < 0 || strval(params) > 20) return SendClientMessage(playerid, -1, "Use /weather [0-20].");
format(str, 128, "Your weather has been changed to ID %d.", strval(params));
SendClientMessage(playerid, -1, str);
SetPlayerWeather(playerid, strval(params));
return 1;
}
First of all this is not a FS, these are just commands.
Secondly, It is very poorly scripted. The commands can be made in one command like: pawn Код:
|