| SchlumPF* |
03-17-2008 09:12 |
strange motd error
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", dir, sizeof dir - 1 ) format( dir, sizeof dir - 1, "http://%s/help.htm", dir ) show_motd( plr, dir, "Commands" )
the html file looks like this
PHP Code:
<html> <head> <title>Help<title> <style> body {background-color: #000000;} .table {border-width: 0px; font-size: 12px; background-color: #1a1a1a; font-family: Arial, Helvetica, sans-serif;} .header {padding: 0px; background-image: url(images/table/title_bg.gif); height: 25px;} .titleline {padding-left: 40px; background-color: #000000; color: #ffffff; font-size: 13px;} .mapline {padding-left: 66px; background-color: #000000; color: #a0bdff; font-size: 16px;} .footer {padding: 0px; background-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>» SchlumPF's Kreedz Plugin</b></td> </tr> <tr> <td class="mapline" colspan="2" align="left"><b>» 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>
|