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

JailBreak DaysMenu


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
LOLZEYE
Member
Join Date: Dec 2008
Location: AMXx Studio
Old 08-07-2011 , 13:07   JailBreak DaysMenu
Reply With Quote #1

JailBreak DaysMenu

Why did i made this plugin?
I saw a lot of you trying to get the hands on this plugin and saw that on the forum some of the people that "remade" this plugin where selling it,so i decided to make my own.

Why did i publish it?
Lots of requests,and for personal fame

Will i make some new versions of it?
Sure,this is just the first version,not "so optimized"

Languages supported?
Just English now,next version with register_dictionary

Cvars?
No,comming now.

How do i change..
Hide time?
Modify here const CountSeconds = 60;
change 60 to number of seconds!
The annoying [Lolz Idle Entertainment] prefix?
Modify here new const PREFIX[] = "[Lolz Idle Entertainment]";
Change Lolz Idle Entertainment with your own prefix!

Copyright
Code:
 // If you type your name below is like me typing your name on your parent's house owning document
 new const AUTHOR[] = "LordLolzeye";
Download?
Below

Where to post suggestions?
Here

Thanks for seeing the plugin,please don't be mean,my first "Good"(i hope) plugin in amxx
Attached Files
File Type: zip models.zip (986.2 KB, 2455 views)
File Type: sma Get Plugin or Get Source (daysmenu.sma - 4911 views - 8.6 KB)
__________________

Last edited by LOLZEYE; 08-07-2011 at 16:15.
LOLZEYE is offline
Send a message via AIM to LOLZEYE Send a message via Yahoo to LOLZEYE
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-07-2011 , 15:44   Re: JailBreak DaysMenu
Reply With Quote #2

It doesn't even compile...
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
LOLZEYE
Member
Join Date: Dec 2008
Location: AMXx Studio
Old 08-07-2011 , 15:49   Re: JailBreak DaysMenu
Reply With Quote #3

I changed something into it and forgot to compile,w8,i will fix

fixed
__________________

Last edited by LOLZEYE; 08-07-2011 at 15:51.
LOLZEYE is offline
Send a message via AIM to LOLZEYE Send a message via Yahoo to LOLZEYE
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-07-2011 , 15:55   Re: JailBreak DaysMenu
Reply With Quote #4

Still doesn't compile.

And fix your indentation.

Btw errors are because you are trying to print the characters '^', which is an escape key.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please

Last edited by nikhilgupta345; 08-07-2011 at 15:58.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
LOLZEYE
Member
Join Date: Dec 2008
Location: AMXx Studio
Old 08-07-2011 , 15:58   Re: JailBreak DaysMenu
Reply With Quote #5

If you were a good programmer you know that loose identation means nothing,i handle errors bigger than this,it compiles fine,thank you,i know you want to sell your daysmenu,but that is the only reason i am realsing this,people sell free codes,i am sick of this
__________________
LOLZEYE is offline
Send a message via AIM to LOLZEYE Send a message via Yahoo to LOLZEYE
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-07-2011 , 16:02   Re: JailBreak DaysMenu
Reply With Quote #6

It does not compile fine. Download the .sma that you have provided and try to compile it.

Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

B:\Users\Nikhil\Downloads\daysmenu (3).sma(378 -- 379) : error 027: invalid char
acter constant
B:\Users\Nikhil\Downloads\daysmenu (3).sma(379) : error 027: invalid character c
onstant
B:\Users\Nikhil\Downloads\daysmenu (3).sma(379 -- 381) : error 027: invalid char
acter constant
B:\Users\Nikhil\Downloads\daysmenu (3).sma(379 -- 381) : fatal error 107: too ma
ny error messages on one line

Compilation aborted.
4 Errors.
Could not locate output file B:\Users\Nikhil\Downloads\daysmenu (3).amx (compile
 failed).

B:\Program Files (x86)\Notepad++>
Also, I realize that loose indentation doesn't affect the performance of the code, but it's easier to look through and looks nicer.

Quote:
What we are looking for in plugins:
Make sure it's code is clean, concise, and readable.
It should compile without errors and preferrably without warnings.
It should work.
It should use AMX Mod X API only. If you've ported an AMX Mod plugin, port it fully.
You should have necessary documentation and a good plugin description.
The code should be yours, or if not, with proper given credit.
The plugin should be somewhat unique - i.e., a plugin that plays sounds with key phrases has been many times before, and would not be approved.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
LOLZEYE
Member
Join Date: Dec 2008
Location: AMXx Studio
Old 08-07-2011 , 16:04   Re: JailBreak DaysMenu
Reply With Quote #7

Quote:
Originally Posted by LOLZEYE View Post
I changed something into it and forgot to compile,w8,i will fix

fixed,redownload
No Comment
__________________
LOLZEYE is offline
Send a message via AIM to LOLZEYE Send a message via Yahoo to LOLZEYE
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-07-2011 , 16:06   Re: JailBreak DaysMenu
Reply With Quote #8

Just because you say it is fixed does not mean it is fixed.


Copy + Paste code here: http://www.amxmodx.org/webcompiler.cgi

And try to compile.


And BTW, I'm not mad that you are releasing this plugin, I am trying to help you fix it because either way, my plugin is still better than this.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please

Last edited by nikhilgupta345; 08-07-2011 at 16:08.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
LOLZEYE
Member
Join Date: Dec 2008
Location: AMXx Studio
Old 08-07-2011 , 16:16   Re: JailBreak DaysMenu
Reply With Quote #9

eh,forgot 1 ^ now it works,thanks
__________________
LOLZEYE is offline
Send a message via AIM to LOLZEYE Send a message via Yahoo to LOLZEYE
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-07-2011 , 16:33   Re: JailBreak DaysMenu
Reply With Quote #10

Quote:
Originally Posted by LOLZEYE View Post
eh,forgot 1 ^ now it works,thanks
You should still fix the indentation.

Anyway

In all the day functions,

You do

PHP Code:
if( cs_get_user_teamid ) == CS_TEAM_T )
     
// code here

if( cs_get_user_teamid ) == CS_TEAM_CT )
     
// code here 
You should change this to

PHP Code:
switch( cs_get_user_teamid ) )
{
     case 
CS_TEAM_T:
          
// code here
     
case CS_TEAM_CT:
          
// code here

That way you are only calling cs_get_user_team( id ) once.

Also, you create a new variable 'id' when that is already created in the header.

You should assign the players in the loop to a new variable, maybe named 'player' or something like that, but don't keep them the same as the header.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
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 18:45.


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