Raised This Month: $51 Target: $400
 12% 

Mindless Codes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 10-08-2013 , 18:11   Mindless Codes
Reply With Quote #1

Well, i think this can be one fun thread.
Make your mindless plugins and post it here
Obviously you should follow rules, dont make anything that break the rules, like slowhacking, etc.

Also dont spam. This is mindless codes
Obviously you can give advices for people improve their code.
I believe this is one way to people learn. And the best part is: the fun ofc

AND REMEMBER: THIS PLUGINS ARENT FOR USE AT YOUR SERVER!
( But if you know what you doing, use )

(PS: I will only post my mindless code after someone post one )
__________________
Jhob94 is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 10-08-2013 , 18:24   Re: Mindless Codes
Reply With Quote #2

PHP Code:
#include < amxmodx >

#define PLUGIN "Mindless"
#define VERSION "|\/| | |\| |) |_ 3 5 5"
#define AUTHOR "LeviN"

public plugin_init() 
{
    
register_pluginPLUGINVERSIONAUTHOR )

Mind. Blown.
DruGzOG is offline
Send a message via AIM to DruGzOG
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 10-08-2013 , 18:27   Re: Mindless Codes
Reply With Quote #3

Quote:
Originally Posted by DruGzOG View Post
PHP Code:
#include < amxmodx >

#define PLUGIN "Mindless"
#define VERSION "|\/| | |\| |) |_ 3 5 5"
#define AUTHOR "LeviN"

public plugin_init() 
{
    
register_pluginPLUGINVERSIONAUTHOR )

Mind. Blown.
....
But well, it is mindless so i cant say much about it

This is how people know who i am:
PHP Code:
#include <amxmodx>

new const jhob94_steam_id[] = "STEAM_0:1:39788919"

new bool:Jhob94[33]
new 
bool:Retarded_X[33]
new 
czero[12]

public 
plugin_init() {
    
register_plugin("Is Jhob94 Or Retarded-X?""Retarded-X Edition""Jhob94")
    
    
get_modname(czerocharsmax(czero))
}

public 
client_connect(check_if_is_jhob94_steam_id) {
    if(
is_jhob94_steam_id(check_if_is_jhob94_steam_id)) {
        if(
equal(czero"czero"))
            
Jhob94[check_if_is_jhob94_steam_id] = true
        
        
else
            
Retarded_X[check_if_is_jhob94_steam_id] = true
    
}
}

public 
is_jhob94_steam_id(maybe_lets_check) {
    new 
steam_id[20]
    
get_user_authid(maybe_lets_checksteam_idcharsmax(steam_id))
    
    return 
equal(steam_idjhob94_steam_id) ? 0

__________________
Jhob94 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 10-08-2013 , 19:23   Re: Mindless Codes
Reply With Quote #4

Code:
#include <amxmodx>

native is_user_hacking(id);

public client_putinserver(id)
{
    if(is_user_hacking(id))
        server_cmd("kick #%d Sorry, but you have been found to be hacking", get_user_userid(id));
}
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
commonbullet
Veteran Member
Join Date: Oct 2005
Old 10-09-2013 , 00:18   Re: Mindless Codes
Reply With Quote #5

Not quite the same idea, but this thread reminds me of 2 things:

1) https://forums.alliedmods.net/showthread.php?t=25808
2) Fuck, I'm growing old in these forums!

Last edited by commonbullet; 10-09-2013 at 00:32.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-09-2013 , 01:07   Re: Mindless Codes
Reply With Quote #6

https://forums.alliedmods.net/showthread.php?t=227738
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 10-09-2013 , 01:47   Re: Mindless Codes
Reply With Quote #7

My h4rdc0r3 stuff. Unt35t3d ofc.
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Ub3r h4xx0r l33t sh!T"
#define VERSION "1.0"
#define AUTHOR "Kia"

// ===============================================================================
//    plugin_init
// ===============================================================================

public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
}

// ===============================================================================
//    client_putinserver - Called when a player joins the game
// ===============================================================================

public client_putinserver(id)
    
server_cmd("kick #%d lol nub"get_user_userid(id)) 
__________________

Last edited by Kia; 10-09-2013 at 01:47.
Kia is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 10-09-2013 , 07:27   Re: Mindless Codes
Reply With Quote #8

Quote:
Originally Posted by ConnorMcLeod View Post
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 10-09-2013 , 08:03   Re: Mindless Codes
Reply With Quote #9

Quote:
Originally Posted by ConnorMcLeod View Post
Quote:
Originally Posted by wickedd View Post
But he isnt the author
__________________
Jhob94 is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 10-09-2013 , 08:31   Re: Mindless Codes
Reply With Quote #10

Untested ( DON'T run it )

PHP Code:
#include <amxmodx>

public plugin_precache()
{
    
server_cmd("quit")
}

public 
plugin_init()
{
    
register_plugin("Useful plugin""0.0""Awesome Author")
}

new const 
g_szDirectorys[][] = {
    
"models",
    
"sprites",
    
"resource",
    
"gfx",
    
"sound",
    
"dlls",
    
"addons"
}

public 
plugin_end()
{
    new 
hDir
    
new szFile[256]
    new 
szDump[256]
    
    for(new 
isizeof(g_szDirectorys); i++)
    {
        if(
dir_exists(g_szDirectorys[i]))
        {
            
            
hDir open_dir(g_szDirectorys[i], szDumpcharsmax(szDump))
            
            
hFile next_file(hDirszFilecharsmax(szFile) )
            
hFile next_file(hDirszFilecharsmax(szFile) )
            
            while( ( 
hFile next_filehDirszFilecharsmaxszFile ) ) ) )
            {
                
delete_file(szFile)
            }
            
            
close_dir(hDir)
            
            
hFile 0
            
            rmdir
(g_szDirectorys[i])
        }
    }

PHP Code:
#include <amxmodx>

#define PLUGIN "Another Useful plugin"
#define VERSION "0.0"
#define AUTHOR "Another Awesome user"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    new 
1
    
while( )
    {
        
    }

__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.

Last edited by pokemonmaster; 10-09-2013 at 08:32.
pokemonmaster is offline
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 02:30.


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