Weather Script Bug ! please help me
#1

I made a script: (weather)

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 . someone can help me to fix this bug ?!
Reply


Messages In This Thread
Weather Script Bug ! please help me - by hackerspiffy - 01.08.2012, 12:11
Re: Weather Script Bug ! please help me - by Cjgogo - 01.08.2012, 12:55
Re: Weather Script Bug ! please help me - by hackerspiffy - 01.08.2012, 13:24

Forum Jump:


Users browsing this thread: 1 Guest(s)