12.05.2013, 07:49
Hi i made this script
I had error type mismatch at difftime ( time ( ), k_time ) why
?
I tryed to convert k_time value to a Time: variable.. nothing..
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 tryed to convert k_time value to a Time: variable.. nothing..