warning 202: number of arguments does not match definition
#1

PHP код:
    if(num_hash(inputtext) == dini_Int(userfile(playerid), "Password"))
    {
        new 
string[900],haha[500],Ultra[MAX_PLAYERS];
        
dini_IntSet(userfile(playerid),"Logged"1);
        
AccInfo[playerid][Logged] = 1;
        
AccInfo[playerid][Skin] = dini_Int(userfile(playerid),"Skin");
        
AccInfo[playerid][Money] = dini_Int(userfile(playerid),"Money");
        
AccInfo[playerid][Password] = dini_Int(userfile(playerid),"Password");
        
strcat(Ultra[playerid], dini_Get(userfile(playerid),"IP"));
        
SetPlayerSkin(playerid,AccInfo[playerid][Skin]);
        
format(haha,sizeof(haha),""green"Successfully Login With Password: "yellow"%d/n"red"[SERVER]: "white"Last login IP:"yellow"%s.",num_hash(AccInfo[playerid][Password]),Ultra[playerid]);// this is error line
        
strcat(string,haha,sizeof(string));
        
ShowPlayerDialog(playeridNotifyDialogDIALOG_STYLE_MSGBOX""red"< ! > "yellow"Notice"string"OK");
        
dini_Set(userfile(playerid),"IP"GetIP(playerid));
    } 
Reply
#2

can you show num_hash() function?
Edit:Also Ultra() function..
Reply
#3

Quote:
Originally Posted by Sreyas
Посмотреть сообщение
can you show num_hash() function?
i don't know where it is but it in my include i just don't know which one :/
Reply
#4

Quote:
Originally Posted by dh240473
Посмотреть сообщение
i don't know where it is but it in my include i just don't know which one :/
It's from the dutils include.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)