Tematy otagowane jako: polaczenie
1. bot na discorda - polaczenie z serwerem by duhack
Z powodu, ?e ci??ko jest znale?? bota, kt?ry posiada synchronizacj? z serwerami MTA, to udost?pniam bota mojego autorstwa, kt?ry jest ca?y czas rozwijany.
GitHub: https://github.com/duhack/mta-discordbot
Serwer testowy: https://discord.gg/JjRy8W5gvS
Je?eli z?y dzia? to przepraszam, bo nie wiedzia?em, gdzie takie rzeczy wstawia?.
2. polaczenie lua z html
meta.xml
< file src = "txt/Aktualizacje.html" />
< file src = "txt/Komendy.html" />
< file src = "txt/Pomoc.html" />
< file src = "txt/aktualizacje.css" />
client-side
local P_Pomoc = fileOpen ( "txt/Pomoc.html" , true )
local Pomoc = fileRead ( P_Pomoc , 50000 )
local P_Komendy = fileOpen ( "txt/Komendy.html" , true )
local Komendy = fileRead ( P_Komendy , 50000 )
local P_Aktualizacje = fileOpen ( "txt/Aktualizacje.html" , true )
local Aktualizacje = fileRead ( P_Aktualizacje , 50000 )
jak sprawi?, by ten html dzia?a?? Obecnie, jak klikne se aktualizacje, to mam zawarto?? tekst htmla:
<! DOCTYPE HTML >
< html lang = "pl" >
< head >
< meta http - equiv = "X-UA-Compatible" content = "IE=edge" >
< meta charset = "utf-8" />
< link rel = "stylesheet" href = "aktualizacje.css" >
</ head >
< body >
< script src = "script.js" > </script>
Aktualizacje
</body>
</html>
3. polaczenie servera mta z MYS
Ktos pomoze polaczyc server mta z MySQL. Moge podac ts3 na pw jak ktos napisze.