CTime problem?
#1

Hi i made this script

pawn Код:
new name [ MAX_PLAYER_NAME ],
            k_time = cache_get_field_content_int ( 0, "time", dbCON );
        cache_get_field_content ( 0, "name", name, dbCON );
       
        if ( !strcmp ( name, GetName ( playerid ) ) ) {
            printf ( "%d", difftime ( time ( ), k_time  ) );
       
       
        }
I had error type mismatch at difftime ( time ( ), k_time ) why ?
I tryed to convert k_time value to a Time: variable.. nothing..
Reply


Messages In This Thread
CTime problem? - by gabyk - 12.05.2013, 07:49
Re: CTime problem? - by Kwarde - 12.05.2013, 09:35
Re: CTime problem? - by gabyk - 12.05.2013, 09:38
Re: CTime problem? - by Kwarde - 12.05.2013, 12:31

Forum Jump:


Users browsing this thread: 1 Guest(s)