I have a question!
#1

How can I write the password for registering and logging into the dialogue to be displayed on stars?
Reply
#2

DIALOG_STYLE_PASSWORD i think. Check wiki.
Reply
#3

Код:
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(2260) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(2270) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(2514) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(9342) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(9372) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
And how i create when player register to show his password which is registered.
Reply
#4

It's only for 0.3d+
Reply
#5

dude its DIALOG_STYLE_INPUT and to get the text which is written as input in it is inputtext.
Reply
#6

Quote:
Originally Posted by electrux
Посмотреть сообщение
dude its DIALOG_STYLE_INPUT and to get the text which is written as input in it is inputtext.
I don't understand you..

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
It's only for 0.3d+
My server is 0.3e?
Reply
#7

use UDB Hash
pawn Код:
/*Credits to Dracoblue*/
stock udb_hash(buf[]) {
    new length=strlen(buf);
    new s1 = 1;
    new s2 = 0;
    new n;
    for (n=0; n<length; n++)
    {
       s1 = (s1 + buf[n]) % 65521;
       s2 = (s2 + s1)     % 65521;
    }
    return (s2 << 16) + s1;
}
This forum requires that you wait 120 seconds between posts. Please try again in 13 seconds.
Reply
#8

Код:
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(670) : error 021: symbol already defined: "num_hash"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#9

Open your script
perss Ctrl+F and type num_hash and remove it
Reply
#10

I don't have "num_hash".

error - stock udb_hash(buf[]) {
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)