Raised This Month: $ Target: $400
 0% 

strange motd error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 03-17-2008 , 09:12   strange motd error
Reply With Quote #1

i already asked alka for this but neither he or me do know why this does happen: this code does just show a white motd without any content

PHP Code:
new dir[128]
get_cvar_string"kz_php_directory"dirsizeof dir )
           
formatdirsizeof dir 1"http://%s/help.htm"dir )
            
show_motdplrdir"Commands" 
the html file looks like this
PHP Code:
<html>
    <
head>
        <
title>Help<title>
        <
style>
            
body {background-color#000000;}
            
.table {border-width0pxfont-size12pxbackground-color#1a1a1a; font-family: Arial, Helvetica, sans-serif;}
            
.header {padding0pxbackground-imageurl(images/table/title_bg.gif); height25px;}
            .
titleline {padding-left40pxbackground-color#000000; color: #ffffff; font-size: 13px;}
            
.mapline {padding-left66pxbackground-color#000000; color: #a0bdff; font-size: 16px;}
            
.footer {padding0pxbackground-color#000000;}
            
.lightblue {color#a0bdff;}
            
.lightblue2 {color#a0bdff; padding-left: 26px;}
            
.medblue {color#5b80d4;}
            
.medblue2 {color#5b80d4; padding-left: 26px;}
            
.darkblue {color#384b78;}
            
.darkblue2 {color#384b78; padding-left: 26px;}
        
</style>
    </
head>
    
    <
body>
        <
table  cellspacing="0" cellpadding="1" width="90%" align="center" class="table">
            <
tr>
                <
td class="titleline" colspan="2" align="left"><b>&raquoSchlumPF's Kreedz Plugin</b></td>
            </tr>
            <tr>
                <td class="mapline" colspan="2" align="left"><b>&raquo; Commands</b></td>
            </tr>
            <tr>
                <td class="header" width="35%"><img src="images/table/help_command.gif"></td>
                <td class="header" width="65%"><img src="images/table/help_description.gif"></td>
            </tr>
            <tr>
                <td class="lightblue2">say /cp, say /check, say /checkpoint</td>
                <td class="lightblue2">Creates a checkpoint at your current position</td>
            </tr>
            <tr>
                <td class="medblue2">say /gc, say /gocheck, say /tp</td>
                <td class="medblue2">Teleports you to your last checkpoint</td>
            </tr>
            <tr>
                <td class="lightblue2">say /stuck, say /unstuck</td>
                <td class="lightblue2">Teleports you back to your previous checkpoint</td>
            </tr>
            <tr>
                <td class="medblue2">say /reset</td>
                <td class="medblue2">Resets your timer, checkpoints and gochecks</td>
            </tr>
            <tr>
                <td class="lightblue2">say /spawn, say /respawn</td>
                <td class="lightblue2">Moves to the spawn place</td>
            </tr>
            <tr>
                <td class="medblue2">say /start, say /restart</td>
                <td class="medblue2">Moves you back to the start button</td>
            </tr>
            <tr>
                <td class="lightblue2">say /finish</td>
                <td class="lightblue2">Moves you to the stop button</td>
            </tr>
            <tr>
                <td class="medblue2">say /weapons, say /scout</td>
                <td class="medblue2">Gives you some extra weapons</td>
            </tr>
            <tr>
                <td class="lightblue2">say /spec</td>
                <td class="lightblue2">Moves you to spectators</td>
            </tr>
            <tr>
                <td class="medblue2">say /ct, say /unspec</td>
                <td class="medblue2">Moves you to CT-Team</td>
            </tr>
            <tr>
                <td class="lightblue2">say /invis</td>
                <td class="lightblue2">Makes players or water invisible to get more fps</td>
            </tr>
                <td class="medblue2">say /measure, say /distance</td>
                <td class="medblue2">Opens a menu to measure jumps</td>
            </tr>
            <tr>
                <td class="lightblue2">say /map</td>
                <td class="lightblue2">show the name of the current map</td>
            </tr>
            <tr>
                <td class="medblue2">say /1337, say /leet</td>
                <td class="medblue2">Shows the current leet climber</td>
            </tr>
            <tr>
                <td class="lightblue2">say /pro10, say /pro15</td>
                <td class="lightblue2">Shows up the pro15 of the current map</td>
            </tr>
            <tr>
                <td class="medblue2">say /nub10, say /nub15</td>
                <td class="medblue2">Shows up the nub15 of the current map</td>
            </tr>
            <tr>
                <td class="lightblue2">say /info, say /help, say /menu</td>
                <td class="lightblue2">Opens the options menu</td>
            </tr>
            <tr>
                <td class="medblue2">say /god, say /godmode</td>
                <td class="medblue2">Enables/disables godmode after you finished the current map, without using checkpoints</td>
            </tr>
            <tr>
                <td class="lightblue2">say /nc, say /noclip</td>
                <td class="lightblue2">Enables/disables noclip after you finished the current map, without using checkpoints</td>
            </tr>
            <tr>
                <td class="medblue2">bind key +hook</td>
                <td class="medblue2">You can use the hook after you finished the current map</td>
            </tr>
            <tr>
                <td class="header"  colspan="7" align="left"><img src="images/table/footer_website.gif"></td>
            </tr>
        </table>
    </body>
</html> 
__________________
SchlumPF* is offline
Send a message via ICQ to SchlumPF*
 



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 08:33.


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