[HELP] Password Error = Failed
#2

oh i forgot about the callbacks..

pawn Код:
public LoginValue ( playerid , name [ ] , value [ ] ) {
    if ( strcmp ( name , "Password" , false ) == 0 ) {
        Account [ playerid ] [ Password ] = strval ( value ) ;
    }
    if ( strcmp ( name , "Kills" , false ) == 0 ) {
        Account [ playerid ] [ Kills ] = strval ( value ) ;
    }
    if ( strcmp ( name , "Deaths" , false ) == 0 ) {
        Account [ playerid ] [ Deaths ] = strval ( value ) ;
    }
    if ( strcmp ( name , "Score" , false ) == 0 ) {
        Account [ playerid ] [ Score ] = strval ( value ) ;
    }
    if ( strcmp ( name , "Money" , false ) == 0 ) {
        Account [ playerid ] [ Money ] = strval ( value ) ;
    }
    if ( strcmp ( name , "Level" , false ) == 0 ) {
        Account [ playerid ] [ Level ] = strval ( value ) ;
    }
    if ( strcmp ( name , "VIP" , false ) == 0 ) {
        Account [ playerid ] [ VIP ] = strval ( value ) ;
    }
    return 1;
}
Reply


Messages In This Thread
[HELP] Password Error = Failed - by AK47317 - 03.04.2011, 08:50
Re: [HELP] Password Error = Failed - by AK47317 - 03.04.2011, 09:13
Re: [HELP] Password Error = Failed - by AK47317 - 03.04.2011, 10:53
Re: [HELP] Password Error = Failed - by AK47317 - 03.04.2011, 13:00
Re: [HELP] Password Error = Failed - by mprofitt - 03.04.2011, 13:05
Re: [HELP] Password Error = Failed - by AK47317 - 04.04.2011, 07:23

Forum Jump:


Users browsing this thread: 1 Guest(s)