Jump to content

[Tutorial] MySQL R33 register / login system.


Recommended Posts

Posted (edited)

<p>Salut, am revenit cu un nou tutorial! Acela este despre cum sa-ti faci un sistem de logare / inregistrare pe MySQL R33.</p>

<p> </p>

<p>In primul rand aveti nevoie de XAMPP</p>

<p>Link de download: <a data-ipb="nomediaparse" href="http://www.apachefriends.org/download.html">http://www.apachefriends.org/download.html</a></p>

<p>In al doilea rand aveti nevoie de Plugin-ul MySQL pe care il puteti gasi pe SA-MP.com sau un simplu search pe google.</p>

<p> </p>

<p>Dupa ce v-ati asigurat ca aveti plugin-ul si XAMPP adaugati in server.cfg la plugins</p>

<pre class="_prettyXprint _linenums:0">

plugins mysql</pre>

<p>Dupa, va duceti in GameMode si adaugati la include (In link-ul de download pentru MySQL aveti si include-ul)</p>

<pre class="_prettyXprint _linenums:0">

#include <a_mysql></pre>

<p>OPTIONAL: Ca sa va vina mai usor puteti definii Host-ul, user-ul, baza de date si parola.</p>

<pre class="_prettyXprint _linenums:0">

#define mysql_host "host"

#define mysql_user "user"

#define mysql_database "database"

#define mysql_password "password</pre>

<p> PS: Nu e neaparat nevoie de parola daca nu aveti host!</p>

<p> </p>

<p>Acum avem nevoie de un enum.</p>

<p> </p>

<p>

 enum</p>

<p>{</p>

<p>    pLevel,</p>

<p>    pPass[24],</p>

<p> </p>

<p>}</p>

<p> </p>

<p>Revin cu edit am dat din greseala Post Topic :-j</p>

Edited by Jeorjica1.
  • 2 weeks later...
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

moduri samp