Argument type dismatch (udb_hash)
#1

Код:
        new ParolaContului[MAX_PLAYERS][50];
        format( ParolaContului[ playerid ], 50, "%s", udb_hash(inputtext) ); 
        new INI:File = INI_Open(UserPath(playerid));
        INI_SetTag(File,"data");
        INI_WriteInt(File,"Parola", ParolaContului[playerid] );	 < ---
pawn Код:
error 035: argument type mismatch (argument 3)
Reply
#2

ParolaContului has two array brackets and you only used one.

EDIT: See above.
Reply
#3

udb_hash returns number, so don't use format

Код:
new INI:File = INI_Open(UserPath(playerid));
        INI_SetTag(File,"data");
        INI_WriteInt(File,"Parola", udb_hash(inputtext));
Reply
#4

thxx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)