Raised This Month: $ Target: $400
 0% 

Connect messages


Post New Thread Reply   
 
Thread Tools Display Modes
Fricas
New Member
Join Date: Jun 2010
Location: Portugal
Old 06-11-2010 , 09:19   Re: Connect messages
Reply With Quote #41

Plugin failed to compile! Please try contacting the author.
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/alliedmodders/forums/files/7/5/3/5/0/67336.attach(4) : fatal error 100: cannot read from file: "colorchat"

Compilation aborted.
1 Error.

do not download.
__________________
Cs Server: cs.dlevo.lt:27015 <----
http://www.dlevo.lt:)
Fricas is offline
Send a message via Skype™ to Fricas
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 06-11-2010 , 09:31   Re: Connect messages
Reply With Quote #42

put colorchat.inc in your scripting/include folder and try again
Must be compiled locally
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
papyrus_kn
Senior Member
Join Date: Feb 2009
Location: Bulgaria
Old 06-11-2010 , 09:31   Re: Connect messages
Reply With Quote #43

Compile locally.
__________________
papyrus_kn is offline
Send a message via Skype™ to papyrus_kn
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-11-2010 , 16:51   Re: Connect messages
Reply With Quote #44

Quote:
Originally Posted by shuttle_wave View Post
Oh shit sorry i didnt look at it properly. heres fixed one

PHP Code:
    if (idplayers[0] = id; else get_players(playerscount"ch");
    {
        for (new 
0counti++)
        {
            if (
is_user_connected(players[i]))
            {
                
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players[i]);
                
write_byte(players[i]);
                
write_string(msg);
                
message_end();
            }
        }
    } 
Wow, that is really confusing to read. Whitespace is your friend. The braces around the for() loop are unneeded and are actually what makes it confusing.
__________________
fysiks is offline
shuttle_wave
Veteran Member
Join Date: Apr 2009
Location: New Zealand
Old 06-11-2010 , 21:32   Re: Connect messages
Reply With Quote #45

this is a good connect message

http://forums.alliedmods.net/showthread.php?t=114524
__________________
JailBreak Mod with Plugin API ( 90% ) Public
shuttle_wave is offline
Old 06-11-2010, 23:08
fysiks
This message has been deleted by fysiks. Reason: Irrelevant.
Old 06-11-2010, 23:53
drekes
This message has been deleted by drekes. Reason: Nvm
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-30-2010 , 18:43   Re: Connect messages
Reply With Quote #46

This plugin is redundant, other plugins can do an equal or better job.

Some similar plugins :
http://forums.alliedmods.net/showthread.php?p=555912
http://forums.alliedmods.net/showthread.php?p=163726
http://forums.alliedmods.net/showthread.php?p=214821
http://forums.alliedmods.net/showthread.php?p=1043977
http://forums.alliedmods.net/showthread.php?p=474832
http://forums.alliedmods.net/showthread.php?p=359316


About the code, don't return any value from client_putinserver and client_disconnect, and to check if a user is admin, either use is_user_admin stock from amxmisc.inc, either allow checked flags to be configurated (cvar, files, ...)


Unapproved.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 15:54.


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