Raised This Month: $32 Target: $400
 8% 

Motd Say 0.3 - ( 11 September 2016 )


Post New Thread Reply   
 
Thread Tools Display Modes
xxxperts
Senior Member
Join Date: Oct 2013
Location: India
Old 02-15-2016 , 03:36   Re: Motd Say 0.2 - ( 26 January 2016 )
Reply With Quote #11

Nice Plugin, but you should have used menu instead using command hook that will be neat & nice.
__________________
All my work is here
xxxperts is offline
luxor
Member
Join Date: Jan 2014
Old 02-16-2016 , 06:40   Re: Motd Say 0.2 - ( 26 January 2016 )
Reply With Quote #12

Quote:
for (new i=0; i<num; i++)
{
show_motd( Players[i], buffer, Arg3 );
return PLUGIN_HANDLED;
}
return in for, that should be the first reason for unnaproving this plugin
luxor is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 02-16-2016 , 06:54   Re: Motd Say 0.2 - ( 26 January 2016 )
Reply With Quote #13

Quote:
Originally Posted by luxor View Post
return in for, that should be the first reason for unnaproving this plugin
Why? There's nothing wrong with returning from a loop.

Last edited by klippy; 02-16-2016 at 06:54.
klippy is offline
xxxperts
Senior Member
Join Date: Oct 2013
Location: India
Old 02-16-2016 , 10:00   Re: Motd Say 0.2 - ( 26 January 2016 )
Reply With Quote #14

Quote:
Originally Posted by KliPPy View Post
Why? There's nothing wrong with returning from a loop.
+1
__________________
All my work is here
xxxperts is offline
Mario AR.
Senior Member
Join Date: May 2011
Location: Lima, Perú
Old 02-16-2016 , 12:41   Re: Motd Say 0.2 - ( 26 January 2016 )
Reply With Quote #15

Quote:
Originally Posted by KliPPy View Post
There's nothing wrong with returning from a loop.
+2

Hard to say, but; in this particular case, that return should be out of the loop

Last edited by Mario AR.; 02-16-2016 at 12:42.
Mario AR. is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 02-16-2016 , 13:10   Re: Motd Say 0.2 - ( 26 January 2016 )
Reply With Quote #16

Quote:
Originally Posted by Mario AR. View Post
+2

Hard to say, but; in this particular case, that return should be out of the loop
Didn't look at the code, I thought he was talking about returning from a loop in general.
klippy is offline
xxxperts
Senior Member
Join Date: Oct 2013
Location: India
Old 02-16-2016 , 23:11   Re: Motd Say 0.2 - ( 26 January 2016 )
Reply With Quote #17

Quote:
Originally Posted by Mario AR. View Post
+2

Hard to say, but; in this particular case, that return should be out of the loop
There is nothing wrong in his code.

EDIT: Sorry, You were right.! ( my bad )

Quote:
Originally Posted by fysiks View Post
It depends on what you are actually wanting to detect. All of your equali() checks will never happen because the 'T' check will return true first in all of those cases.

What do you actually want to be the condition to be?
Agree with these too.

Have you tested the code before posting, because in every loop you had used return_handled which will break the loop after one loop.

PHP Code:

    get_players
(Players,num,"ceh","TERRORIST");
    for (new 
i=0i<numi++)
    {
        
show_motdPlayers[i], bufferArg3 );
        return 
PLUGIN_HANDLED;
    } 
--->

PHP Code:
    get_players(Players,num,"ceh","TERRORIST");
    for (new 
i=0i<numi++)
    {
        
show_motdPlayers[i], bufferArg3 );
    }
    return 
PLUGIN_HANDLED
__________________
All my work is here

Last edited by xxxperts; 02-17-2016 at 06:35. Reason: Mistake & Updated Correctly
xxxperts is offline
luxor
Member
Join Date: Jan 2014
Old 02-18-2016 , 03:56   Re: Motd Say 0.2 - ( 26 January 2016 )
Reply With Quote #18

Quote:
Originally Posted by KliPPy View Post
Why? There's nothing wrong with returning from a loop.
returning like that in for*
luxor is offline
Old 06-29-2016, 14:54
Craxor
This message has been deleted by Craxor. Reason: Usselessssssss reply.
Craxor
Veteran Member
Join Date: Jan 2016
Location: Romania
Old 09-11-2016 , 02:24   Re: Motd Say 0.2 - ( 26 January 2016 )
Reply With Quote #19

Up-date <3
__________________
Project: Among Us
Craxor is offline
Send a message via ICQ to Craxor
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode