Jump to content

Login/Register (ZCMD SSCANF Y_INI)


Guest PlayON

Recommended Posts

Guest PlayON

0.3c Login/Register.

ZCMD SSCANF && Y_INI.

Informatii

    Am creat acest FS de login/register pentru ce-i noi veniti care cer login si register prin intermediul dialoguriilor. Nu prea este mult de explicat.

Veti avea nevoie de: SSCANF    ZCMD    Y_INI

Comenziile sunt  /login /register

Imagini

4-1.png    3-1.png

2.png    1.png

Download

[download]Pastebin[/download]

How to:

Pentru a putea sa folosesti , sa vezi, daca juactorul este logat, folosesti urmatorul cod:

if ( GetPVarInt( playerid, "Logged" ) == 1 )
{
   //code code code code
   //si mai mult cod
}
Daca e pus "1" inseamna ca verifica daca este logat, daca pui "0" verifica daca NU este logat. Inside Fisierul arata cam asa.
NUME = [SRC]Zh3r0
PAROLA = Parola
DATA INREGISTRARII = 16:44:16 | 2/1/2011
BANI = 5000
SCOR = 15

Credite

Dracoblue - Set, strreplace si Encode.

Ultim cuvant

Va rog sa raportati orice bug va iese in cale, sau daca vreti ceva sa fie schimbat.

Link to comment
Share on other sites

Guest PlayON

Ca toti romanii sa foloseasca, copieze, fure, si sa zica ca e a lor.

Doara de asta s-au anscut nu?:)

Si daca persoana care cred eu ca ar vrea sa comenteze, posteaza aici, i sterg postu.

Link to comment
Share on other sites

  • 4 weeks later...

Hm imi da o eroare chiar daca am bagat incu :|

D:\SAMP\SAMP\samp 0.3c maniaks\filterscripts\registerlogin.pwn(4) : fatal error 100: cannot read from file: "YSI/y_ini"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.

downleaza asta http://www.mediafire.com/?nn2r0z266sym734 pui in pawno/include/creaza folder cu rename
YSI

si pui y_ini.inc

wtf?I fucking then school??????fuck school :))))

coolte12.png

Link to comment
Share on other sites

  • 1 month later...

Salutare din nou si ma scuzati ca fac double post ( la o distanta de timp destul de mare ) ... Dupa cateva zile / saptamani de 'jucat' cu filterscript`ul, am reusit sa`l modific pe placul meu dar acum am o problema. Deci, vreau sa fac ca atunci cand te loghezi, sa te spawneze direct, fara sa mai fii nevoit sa dai Spawn ... ca la OnPlayerRequestClass.

La fel si cu F4 ... In caz ca da cineva F4, vreau sa`l spawneze direct, fara sa`l dea la Class Request ...

Multam.

Link to comment
Share on other sites

Join the conversation

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

Guest
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.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

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. For more details you can also review our Terms of Use and Privacy Policy.