|
Author
|
Message
|
|
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
|

08-17-2013
, 02:09
Re: Errros in my code
|
#1
|
Quote:
Originally Posted by iloadding
Fallowing Errors:
PHP Code:
Color( id, "!g[ DeathMatch ]!n Welcome !g%s!n, DeathMatch: All Stars !gV1.0!n Coded By !gCheese.", szName, PLUGIN, VERSION, AUTHOR );
Correct is:
PHP Code:
ChatColor( id, "!g[ DeathMatch ]!n Welcome !g%s!n, DeathMatch: All Stars !gV1.0!n Coded By !gCheese.", szName);
Error:
PHP Code:
stock Color( id, String[ ], any:... ) {
Correct:
PHP Code:
stock ChatColor( id, String[ ], any:... ){
Error:
PHP Code:
Color( id, "");
Correct:
PHP Code:
ChatColor( id, "!g[ DeathMatch ]!n Welcome !g%s!n, DeathMatch: All Stars !gV1.0!n Coded By !gCheese.", szName);
@EDIT:
There needs #include < colorchat >
|
Since it's a stock inside his script named "Color" it doesn't need changing the name or adding of any external includes.
EDIT: I'm having no problem at all with the plugin.
__________________
Last edited by Black Rose; 08-17-2013 at 02:19.
|
|
|
|