01.08.2012, 12:11

CMD:w( playerid, params[ ] )
{
if ( !strlen( params ) )
{
SendClientMessage( playerid, COLOR_WHITE, "/w [0-45]" );
return ( 1 );
}
new w = strval( params );
if(w < 0 || w > 45)
{
SendClientMessage(playerid, COLOR_GREY, "/w [0-45]");
return ( 1 );
}
SetPlayerWeather(playerid, w);
return 1;
}
When i use /w (weather) command more times server closed .
