Jump to content

Nejuspornejsi registracni system


ATomas

Recommended Posts

vyzdnacil som cervenou kde je chyba

 

new Banka [MAX_PLAYERS];

new bool:Prihlasen[MAX_PLAYERS];

//------------------------------------------------------------------//

stock NajdiEnter(string[])

{

for(new i=strlen(string) -1; i>-1; i--)

{

if(string != '\r' && string != '\n') return i +1;

}

return false;

}

 

a errory/warningy by si poslat nemoh ?

Link to comment
Share on other sites

vyzdnacil som cervenou kde je chyba

 

new Banka [MAX_PLAYERS];

new bool:Prihlasen[MAX_PLAYERS];

//------------------------------------------------------------------//

stock NajdiEnter(string[])

{

for(new i=strlen(string) -1; i>-1; i--)

{

if(string != '\r' && string != '\n') return i +1;

}

return false;

}

 

a errory/warningy by si poslat nemoh ?

 

 

už je psal a přestan spamovat a nauč se číst ;)

 

 

potřebuju vidět kde používáš proměnu Banka

Link to comment
Share on other sites

vyzdnacil som cervenou kde je chyba

 

new Banka [MAX_PLAYERS];

new bool:Prihlasen[MAX_PLAYERS];

//------------------------------------------------------------------//

stock NajdiEnter(string[])

{

for(new i=strlen(string) -1; i>-1; i--)

{

if(string != '\r' && string != '\n') return i +1;

}

return false;

}

 

a errory/warningy by si poslat nemoh ?

 

 

už je psal a přestan spamovat a nauč se číst ;)

 

 

potřebuju vidět kde používáš proměnu Banka

 

 

Já že se spamuju ? se koukni na sebe :d máš příspěvky víc za spam než za helpy atd.

 

Příznávám že tohle je spam :d

Link to comment
Share on other sites

Hele Atome,

Necetl sem tu tech 6 stranek takze nevím jestly se te nato uz nekdo ptal. Nemá byt v OnPlayerConnect

{

ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Přihlášení","Prosím přihlašte se, napište své heslo","OK","OK");

return 1;

}

? Mam to presne podle tebe a kdyz to testuju tak mi nenajede dialog :-/ ...

 

 

EDIT !!!!!!!

 

 

Tak sem to nakonec rozjel díky za registraci Atome ;)

Link to comment
Share on other sites

  • 4 weeks later...

jak sa zda tak spokcit to z prvej strany a hodit do modu nestaci... neco tam urcite chyba.. lebo ked sem spusti hru... nic sa mi nevyhodilo.... netusite co s ty? :lek:

Link to comment
Share on other sites

jak sa zda tak spokcit to z prvej strany a hodit do modu nestaci... neco tam urcite chyba.. lebo ked sem spusti hru... nic sa mi nevyhodilo.... netusite co s ty? :lek:

prsesne tak to je tut a ten je pro ty kteri chteji se to naucit ty kteri to chteji jen skopcit maji smulu a pritom je to tak jednoduche..

Link to comment
Share on other sites

Našiel som ti tam chybu

strdel(Data,NajdiEnter(Data),strlen(Data));// pomoci funkce a oriznuti ziskame "heslo" bez tech odratkovani

opačne

strdel(Data,0,NajdiEnter(Data));

nie ?

Link to comment
Share on other sites

Čawte, všechno sjem udělal tak jak to mělo být ale D:\Hry [Funkční]\GTA San Andreas\GTA San Andreas\pawno\rw !!!.pwn(97) : error 017: undefined symbol "Prihlasen"

D:\Hry [Funkční]\GTA San Andreas\GTA San Andreas\pawno\rw !!!.pwn(97) : warning 215: expression has no effect

D:\Hry [Funkční]\GTA San Andreas\GTA San Andreas\pawno\rw !!!.pwn(97) : error 001: expected token: ";", but found "]"

D:\Hry [Funkční]\GTA San Andreas\GTA San Andreas\pawno\rw !!!.pwn(97) : error 029: invalid expression, assumed zero

D:\Hry [Funkční]\GTA San Andreas\GTA San Andreas\pawno\rw !!!.pwn(97) : fatal error 107: too many error messages on one line

 

a protože jsem začátečník tak to nedokážu opravit. Poradíte mě ?

Link to comment
Share on other sites

Čawte, všechno sjem udělal tak jak to mělo být ale D:\Hry [Funkční]\GTA San Andreas\GTA San Andreas\pawno\rw !!!.pwn(97) : error 017: undefined symbol "Prihlasen"

D:\Hry [Funkční]\GTA San Andreas\GTA San Andreas\pawno\rw !!!.pwn(97) : warning 215: expression has no effect

D:\Hry [Funkční]\GTA San Andreas\GTA San Andreas\pawno\rw !!!.pwn(97) : error 001: expected token: ";", but found "]"

D:\Hry [Funkční]\GTA San Andreas\GTA San Andreas\pawno\rw !!!.pwn(97) : error 029: invalid expression, assumed zero

D:\Hry [Funkční]\GTA San Andreas\GTA San Andreas\pawno\rw !!!.pwn(97) : fatal error 107: too many error messages on one line

 

a protože jsem začátečník tak to nedokážu opravit. Poradíte mě ?

 

 

Uka řádek 97

Link to comment
Share on other sites

  • 9 months later...

pěkný registrační system škoda že když se připojím tak to nezobrazí dialog z loginem a když si něco přidělám na ukládání například řidičák tak se mi to celí zpřehází a místo abych měl třeba řidičák 1 a admi nlevel 4 tak mám třeba řidičák 4 a admin level 1 :wtf:

Link to comment
Share on other sites

  • 2 months later...

Hazi mi to tyto chyby

C:\DOCUME~1\Lukas\Plocha\MODBYL~1.PWN(493) : error 017: undefined symbol "SetPVarString"
C:\DOCUME~1\Lukas\Plocha\MODBYL~1.PWN(508) : error 017: undefined symbol "SetPVarString"
C:\DOCUME~1\Lukas\Plocha\MODBYL~1.PWN(645) : error 017: undefined symbol "GetPVarString"

 

Radek 493:

SetPVarString(playerid,"PrihlasovaciHeslo",inputtext);

Radek 508:

SetPVarString(playerid,"PrihlasovaciHeslo",inputtext);

Radek 645:

GetPVarString(playerid,"PrihlasovaciHeslo",heslo,sizeof(heslo));

 

Piste prosim odpovedi

Link to comment
Share on other sites

  • Administrátor
Hazi mi to tyto chyby
C:\DOCUME~1\Lukas\Plocha\MODBYL~1.PWN(493) : error 017: undefined symbol "SetPVarString"
C:\DOCUME~1\Lukas\Plocha\MODBYL~1.PWN(508) : error 017: undefined symbol "SetPVarString"
C:\DOCUME~1\Lukas\Plocha\MODBYL~1.PWN(645) : error 017: undefined symbol "GetPVarString"

 

Radek 493:

SetPVarString(playerid,"PrihlasovaciHeslo",inputtext);

Radek 508:

SetPVarString(playerid,"PrihlasovaciHeslo",inputtext);

Radek 645:

GetPVarString(playerid,"PrihlasovaciHeslo",heslo,sizeof(heslo));

 

Piste prosim odpovedi

Aktualizuj si pawno

Link to comment
Share on other sites

  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...