AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Me ajudem com este codigo (https://forums.alliedmods.net/showthread.php?t=313859)

edimilton2018 01-25-2019 08:05

Me ajudem com este codigo
 
pessoal deem uma olhada para mim neste código e me diz aonde eu estou errando.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Document</title>

<style type="text/css">
body{
background: #000;
}

table{
border: 1px solid #000;
width: 100%;
background #ffffff;
}

table tr:first-child td { border-top: 0px; }

td {
font-size: 12px;
font-family: Verdana, Arial, "Sans Serif";
padding: 5px 10px;
background: #ececec;
}

td.zebra{
background: #cccccc;
}

strong { text-transform: uppercase; font-size: 20px; color: #ccc;}
strong span { color: gold; }

.sem_bg td { background: #000; }

.bordas { border: 1px solid #ccc; }
</style>
</head>
<body>
<div class="bordas">
<table width="100%" class="sem_bg">
<tr>
<td width="80"><img src="http://dummyimage.com/80x80/333/fff.png&text=logo" /></td>
<td><strong> CS.020 <br /><span>Regras Para JOGADOR</span></strong></td>
</tr>
</table>
<table width="100%">
<tr>
<td class="zebra">1: Não pode desrespeitar nenhum outro jogador ou ADM.
</td>
</tr>

<tr>
<td>2: Não pode usar Niks ofensivos,racistas ou homofóbicos.</td>
</tr>

<tr>
<td class="zebra">3: Não pode usar Niks que façam apologia ao crime ou ao sexo.
</td>
</tr>

<tr>
<td>4: ADM pode fazer qualquer tipo de votação.</td>
</tr>

//Esta linha abaixo ate o seu fechamento foi adicionada por mim mesmo.
<tr>
<td class="zebra">5: Os ADM devem respeitar os players assim como so players devem respeitar os ADM.</td>
</tr>
//Termino da 5 linha


</table>
</div>
</body>
</html>


Este é um menu metod, achei este plugin na internet.
Só que quando da o comando para ele aparecer só aparece até a 4ª regra, pois assim ele veio com apenas 4 regras
a 5ª regra quem adicionou fui eu mesmo, porem quando eu dou o comando para o menu aparecer, a 5ª regra não aparesse só aparesse até a 4ª.
como eu faço para adicionar mais linhas de regras ?

edimilton2018 01-25-2019 08:32

Re: Me ajudem com este codigo
 
inglês

Reply With Quote Multi-Quote This Message Quick reply to this message # 1
guys take a look at me in this code and tell me where I'm wrong.

<! DOCTYPE html PUBLIC "- // W3C // DTD XHTML 1.0 Strict // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml" xml: lang = "en">
<head>
<meta http-equiv = "Content-Type" content = "text / html; charset = UTF-8">
<title> Document </ title>

<style type = "text / css">
body {
background: # 000;
}

table {
border: 1px solid # 000;
width: 100%;
background #ffffff;
}

table tr: first-child td {border-top: 0px; }

td
font-size: 12px;
font-family: Verdana, Arial, "Sans Serif";
padding: 5px 10px;
background: #ececec;
}

td.zebra {
background: #cccccc;
}

strong {text-transform: uppercase; font-size: 20px; color: #ccc;}
strong span {color: gold; }

.sem_bg td {background: # 000; }

.bordas {border: 1px solid #ccc; }
</ style>
</ head>
<body>
<div class = "border">
<table width = "100%" class = "sem_bg">
<tr>
<td width = "80"> <img src = "http://dummyimage.com/80x80/333/fff.png&text=logo" /> </ td>
<td> <strong> CS.020 <br /> <span> Rules for PLAYER </ span> </ strong> </ td>
</ tr>
</ table>
<table width = "100%">
<tr>
<td class = "zebra"> 1: You can not disrespect any other player or ADM.
</ td>
</ tr>

<tr>
<td> 2: You can not use offensive, racist or homophobic Niks. </ td>
</ tr>

<tr>
<td class = "zebra"> 3: You can not use Niks who advocate crime or sex.
</ td>
</ tr>

<tr>
<td> 4: ADM can make any type of voting. </ td>
</ tr>

// This line below until its closing was added by myself.
<tr>
<td class = "zebra"> 5: WMDs must respect players just as players must respect WMDs. </ td>
</ tr>
// End of the 5 line


</ table>
</ div>
</ body>
</ html>


This is a menu metd, I found this plugin on the internet.
But when he gives the command to him to appear only appears until the 4th rule, therefore he came with only 4 rules
the 5th rule who added was myself, but when I give the command for the menu to appear, the 5th rule does not appear only appear until the 4th.
how do I add more rows of rules?


Mordekay 01-26-2019 06:43

Re: Me ajudem com este codigo
 
The size of the MotD is very limited. You need to put this html-file on a webhost and link to it in your MotD instead.

edimilton2018 01-29-2019 13:34

Re: Me ajudem com este codigo
 
Hello, I realized this I solved the problem by decreasing as lines of code, now it works but I have limits, thanks for the explanation


All times are GMT -4. The time now is 08:56.

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